]> git.parisson.com Git - teleforma.git/commitdiff
fix thumb paths
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 23 Sep 2013 11:34:11 +0000 (13:34 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 23 Sep 2013 11:35:09 +0000 (13:35 +0200)
teleforma/views/core.py

index 1664e837d11251f30f152cb69195e2788254a20f..918f2a14ebf9ad6b885de540505d019933f73721 100644 (file)
@@ -606,7 +606,7 @@ class ConferenceRecordView(FormView):
         f = open(path, 'w')
         f.write(img.read())
         f.close()
-        command = 'dwebp ' + path + ' -o ' + dir + os.sep + 'preview.png &'
+        command = 'dwebp "' + path + '" -o "' + dir + os.sep + 'preview.png" &'
         os.system(command)
 
     @method_decorator(login_required)