From acaeb203a149987f0feeb9182aff2ca542ca5605 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 15 Feb 2016 16:59:58 +0530 Subject: [PATCH] commit after adding --- oml/user/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oml/user/models.py b/oml/user/models.py index 7f7c9c3..4fddabf 100644 --- a/oml/user/models.py +++ b/oml/user/models.py @@ -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)