commit after adding
This commit is contained in:
parent
a96b55e006
commit
acaeb203a1
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ class List(db.Model):
|
|||
self.items.append(i)
|
||||
if self.user_id == settings.USER_ID:
|
||||
i.queue_download()
|
||||
i.update(commit=commit)
|
||||
i.update(commit=False)
|
||||
if i.info['mediastate'] == 'available':
|
||||
available_items.append(item_id)
|
||||
state.db.session.add(self)
|
||||
|
|
Loading…
Reference in a new issue