Fixed path on windows

This commit is contained in:
Rémi BERTHO 2018-09-30 17:54:41 +02:00
parent 2556287a76
commit f43c5e3ed4
Signed by: dalan
GPG Key ID: EE3B917931C07B64
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ else:
if img == "":
exit(0)
img = img.replace("\\", "/")
img = img.replace("'", "\\'")
exe_dir = path.dirname(path.realpath(sys.argv[0]))