From: Guillaume Pellerin Date: Thu, 21 Apr 2016 14:43:25 +0000 (+0200) Subject: bugfix X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=420bb74a339842506fb73f991e7bdaf97864f93f;p=mezzo.git bugfix --- 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']