From d1a5613f3f3d875a35edbcda8e8c8e6487612ff4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 16 Jan 2014 13:56:07 +0530 Subject: [PATCH] more summary fixes --- ox/web/imdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 18d6d75..436d5fb 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -612,6 +612,8 @@ class Imdb(SiteParser): if self['releasedate'] == 'x': del self['releasedate'] if 'summary' in self: + if isinstance(self['summary'], list): + self['summary'] = self['summary'][0] self['summary'] = self['summary'].split('