Skip to content
Snippets Groups Projects
Commit b91abe99 authored by rswindell's avatar rswindell
Browse files

Fixed warning: Deprecated file open mode: 'e' (replaced with 'x')

parent ce6c9be0
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ function Lock(fileName)
{
var fname=(root+fileName+".lck");
var lockfile=new File(fname);
lockfile.open('we', false);
lockfile.open('wx', false);
if(!lockfile.is_open)
return false;
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment