From: Guillaume Pellerin Date: Mon, 23 Sep 2013 11:34:11 +0000 (+0200) Subject: fix thumb paths X-Git-Tag: 1.3-TC~16^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9083d1bf0b47f9f390a558ff34d802f5374564c2;p=teleforma.git fix thumb paths --- diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 1664e837..918f2a14 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -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)