]> git.parisson.com Git - teleforma.git/commitdiff
fix
authoryomguy <yomguy@parisson.com>
Wed, 18 Jul 2012 17:13:48 +0000 (19:13 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 18 Jul 2012 17:13:48 +0000 (19:13 +0200)
teleforma/views.py

index 60e802f686b899bdcdf3eae8fd8e607562ca0e49..bc8b43fa8231dec33a9a4b7cf728e07fad636672 100755 (executable)
@@ -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())