fix typo
This commit is contained in:
parent
85712a63b5
commit
c9b9aa935f
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue