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 == "": if img == "":
exit(0) exit(0)
img = img.replace("'", "\\'")
exe_dir = path.dirname(path.realpath(sys.argv[0])) exe_dir = path.dirname(path.realpath(sys.argv[0]))
os.chdir(exe_dir) os.chdir(exe_dir)

View file

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