Updated h2inc_gtk.py
This commit is contained in:
2
Gui test/h2inc_gtk.py
Normal file → Executable file
2
Gui test/h2inc_gtk.py
Normal file → Executable file
@@ -149,7 +149,7 @@ def process_file(data):
|
||||
try:
|
||||
os.makedirs(os.path.dirname(outputfile))
|
||||
except OSError as exc: # Guard against race condition
|
||||
if exc.errno != errno.EEXIST:
|
||||
if exc.errno != FileExistsError:
|
||||
raise
|
||||
newfile = open(outputfile, "w")
|
||||
newfile.write(outfile)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user