remove imdb poster id from data

This commit is contained in:
j 2013-07-15 21:39:34 +02:00
parent 226c4fb2c0
commit 64abcba05b

View file

@ -168,6 +168,8 @@ class Imdb(models.Model):
data['reviews'] = reviews data['reviews'] = reviews
if not data['reviews']: if not data['reviews']:
del data['reviews'] del data['reviews']
if 'posterId' in data:
del data['posterId']
data['likes'] = self.info('likes') data['likes'] = self.info('likes')
data['downloads'] = self.info('downloads') data['downloads'] = self.info('downloads')
data['links'] = self.links() data['links'] = self.links()