From 64abcba05b5f6b268a1add79cb07b044de9f93ac Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 15 Jul 2013 21:39:34 +0200 Subject: [PATCH] remove imdb poster id from data --- oxdata/movie/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oxdata/movie/models.py b/oxdata/movie/models.py index d04b619..d11bd02 100644 --- a/oxdata/movie/models.py +++ b/oxdata/movie/models.py @@ -168,6 +168,8 @@ class Imdb(models.Model): data['reviews'] = reviews if not data['reviews']: del data['reviews'] + if 'posterId' in data: + del data['posterId'] data['likes'] = self.info('likes') data['downloads'] = self.info('downloads') data['links'] = self.links()