Updated h2inc_gtk.py
This commit is contained in:
1 parent
caea829a7c
commit
8f53d0d085
7 files changed
+1
-2
No files matched your search
Regular → Executable
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user