Updated h2inc_gtk.py

This commit is contained in:
Lerking committed 2018-05-07 16:36:06 +02:00
1 parent caea829a7c
commit 8f53d0d085
7 files changed
+1 -2

No files matched your search

Regular → Executable
+1 -1
View 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)