forked from 0x2620/pandora
manualy set json/modified, gets out of sync otherwise
This commit is contained in:
parent
a0e14d299b
commit
b097dc2862
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,7 @@ class Item(models.Model):
|
|||
self.poster_frame = self.sort.duration/2
|
||||
update_poster = True
|
||||
self.json = self.get_json()
|
||||
self.json['modified'] = datetime.now()
|
||||
super(Item, self).save(*args, **kwargs)
|
||||
self.update_find()
|
||||
self.update_sort()
|
||||
|
|
Loading…
Reference in a new issue