Skip to content

Commit

Permalink
Revert "fix #231 (#237)" (#239)
Browse files Browse the repository at this point in the history
This reverts commit 59c456c that accidentally was pushed to main branch
  • Loading branch information
p5k369 authored Mar 10, 2023
1 parent 59c456c commit a498ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DisplayCAL/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -6584,7 +6584,7 @@ def exec_cmd(
if os.path.isfile(okfilename):
try:
os.remove(okfilename)
except OSError:
except OSError, e:
pass
else:
break
Expand Down Expand Up @@ -6625,7 +6625,7 @@ def exec_cmd(
waitfile.write("#!/usr/bin/env python3\n")
waitfile.write(pythonscript)
os.chmod(waitfilename, 0o755)
args[index] += '%s ./%s' % (
args[index] += '"%s" ./%s' % (
strtr(safe_str(python), {'"': r"\"", "$": r"\$"}),
os.path.basename(waitfilename),
)
Expand Down

0 comments on commit a498ab1

Please sign in to comment.