From 7fc6346079cef9d347706050fb761ed305a2d51e Mon Sep 17 00:00:00 2001 From: Donald Delmar Davis Date: Mon, 30 Mar 2015 13:32:43 -0700 Subject: Update loader.py Doh! --- loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader.py b/loader.py index f82c68d..6a4804a 100755 --- a/loader.py +++ b/loader.py @@ -207,7 +207,7 @@ def select_file_for_write(d,directory): while True: code, selection = d.fselect(directory,10,70) if code==d.OK: - if os.path.isfile(selection) and os.access(selection, os.W_OK): + if os.path.isfile(selection) and os.access(selection, os.F_OK): code = d.yesno("File Exists!!! Overwrite it?") if code==d.OK : return code, selection -- cgit v1.2.3