Add ' escape

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
Rémi BERTHO 2018-09-01 12:19:38 +02:00
parent 215540ee3f
commit db826ceade
Signed by: dalan
GPG Key ID: EE3B917931C07B64
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -52,7 +52,7 @@
time_anim: false,
default_fov: 40,
min_fov: 5,
max_fov: 50,
max_fov: 60,
navbar: [
'autorotate',
'zoom',