dont return x as release date

This commit is contained in:
j 2013-06-29 18:21:58 +02:00
parent 1e65f3e478
commit deaa2bb988

View file

@ -565,6 +565,8 @@ class Imdb(SiteParser):
self['releasedate'] = min([
parse_date(d) for d in self['releasedate']
])
if self['releasedate'] == 'x':
del self['releasedate']
if 'summary' in self:
self['summary'] = self['summary'].split('</p')[0].strip()