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) ...@@ -20,7 +20,7 @@ function Lock(fileName)
{ {
var fname=(root+fileName+".lck"); var fname=(root+fileName+".lck");
var lockfile=new File(fname); var lockfile=new File(fname);
lockfile.open('we', false); lockfile.open('wx', false);
if(!lockfile.is_open) if(!lockfile.is_open)
return false; return false;
else { 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