From c9b9aa935f37af1f60d46f559e33047d1fcde0bc Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 24 Jul 2013 11:30:00 +0200 Subject: [PATCH] fix typo --- oxdata/lookup/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxdata/lookup/models.py b/oxdata/lookup/models.py index 4ce8a2a..3c8fad0 100644 --- a/oxdata/lookup/models.py +++ b/oxdata/lookup/models.py @@ -108,7 +108,7 @@ class MovieId(models.Model): # self.gen_oxdb_id() self.save() if self.imdb_id: - m, created = movie.models.Imdb.objects.get_or_create(imdb=self.movie_id.imdb_id) + m, created = movie.models.Imdb.objects.get_or_create(imdb=self.imdb_id) m.update() def gen_oxdb_id(self):