From: yomguy Date: Wed, 18 Jul 2012 17:13:48 +0000 (+0200) Subject: fix X-Git-Tag: 0.7-dev^2~89 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6cefee13783202206cd2edb83dd80b05e0c9a5ba;p=teleforma.git fix --- diff --git a/teleforma/views.py b/teleforma/views.py index 60e802f6..bc8b43fa 100755 --- a/teleforma/views.py +++ b/teleforma/views.py @@ -404,7 +404,7 @@ class ConferenceRecordView(FormView): return super(ConferenceRecordView, self).form_valid(form) def snapshot(self, stream, dir): - img = urllib2.urlopen(stream.snapshot_url) + img = urllib2.urlopen(stream.snapshot_url()) path = dir + os.sep + 'preview.webp' f = open(path, 'w') f.write(img.read())