From 6cefee13783202206cd2edb83dd80b05e0c9a5ba Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 18 Jul 2012 19:13:48 +0200 Subject: [PATCH] fix --- teleforma/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- 2.39.5