Fixed path on windows
This commit is contained in:
parent
2556287a76
commit
f43c5e3ed4
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ else:
|
||||||
if img == "":
|
if img == "":
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
img = img.replace("\\", "/")
|
||||||
img = img.replace("'", "\\'")
|
img = img.replace("'", "\\'")
|
||||||
|
|
||||||
exe_dir = path.dirname(path.realpath(sys.argv[0]))
|
exe_dir = path.dirname(path.realpath(sys.argv[0]))
|
||||||
|
|
Loading…
Reference in a new issue