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

View file

@ -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]))