From 420bb74a339842506fb73f991e7bdaf97864f93f Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 21 Apr 2016 16:43:25 +0200 Subject: [PATCH] bugfix --- app/festival/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/festival/models.py b/app/festival/models.py index 2b81e126..72267631 100644 --- a/app/festival/models.py +++ b/app/festival/models.py @@ -144,7 +144,7 @@ class Media(Displayable, RichText): elif self.closed_source_mime_type in source.attrib['type']: self.closed_source_url = source.attrib['src'] video = self.q('video') - if 'poster' in video[0].attrib.key(): + if 'poster' in video[0].attrib.keys(): self.poster_url = video[0].attrib['poster'] -- 2.39.5