This commit is contained in:
j 2009-07-13 10:46:18 +02:00
parent 67e9071c3f
commit 2cbb4ae0fc

View file

@ -33,7 +33,7 @@ def archivePosters(init=False):
imdbId = data['imdbId'] imdbId = data['imdbId']
try: try:
m = IdMapping.objects.get(criterion_id=criterionId) m = IdMapping.objects.get(criterion_id=criterionId)
if imdbId and imdb != m.imdb_id: if imdbId and imdbId != m.imdb_id:
m.imdb_id = imdbId m.imdb_id = imdbId
m.save() m.save()
except IdMapping.DoesNotExist: except IdMapping.DoesNotExist: