only update ids if needed
This commit is contained in:
parent
37ee7a1267
commit
451577a3f9
1 changed files with 2 additions and 1 deletions
|
@ -340,6 +340,7 @@ class Item(models.Model):
|
|||
q = Item.objects.filter(oxdbId=oxdbId).exclude(id=self.id)
|
||||
self.oxdbId = oxdbId
|
||||
update_poster = True
|
||||
if len(self.itemId) != 7:
|
||||
update_ids = True
|
||||
|
||||
#id changed, what about existing item with new id?
|
||||
|
|
Loading…
Reference in a new issue