forked from 0x2620/pandora
if oxdbId changed, update local poster
This commit is contained in:
parent
562cad7d5a
commit
bb33e8b277
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ class Item(models.Model):
|
||||||
q[0].merge_with(self, save=False)
|
q[0].merge_with(self, save=False)
|
||||||
else:
|
else:
|
||||||
self.oxdbId = oxdbId
|
self.oxdbId = oxdbId
|
||||||
|
self.make_local_poster()
|
||||||
|
|
||||||
#id changed, what about existing item with new id?
|
#id changed, what about existing item with new id?
|
||||||
if settings.USE_IMDB and len(self.itemId) != 7 and self.oxdbId != self.itemId:
|
if settings.USE_IMDB and len(self.itemId) != 7 and self.oxdbId != self.itemId:
|
||||||
|
|
Loading…
Reference in a new issue