From b56cd3439e3f827dddb652bf900d7de50f5d168f Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 11 Sep 2013 09:28:30 +0200 Subject: [PATCH] added_identifiers needs to be mutable. fix #2140 #2141 --- couchpotato/core/plugins/manage/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/manage/main.py b/couchpotato/core/plugins/manage/main.py index 3a475b70..ec86f594 100644 --- a/couchpotato/core/plugins/manage/main.py +++ b/couchpotato/core/plugins/manage/main.py @@ -169,8 +169,7 @@ class Manage(Plugin): fireEvent('notify.frontend', type = 'manage.updating', data = False) self.in_progress = False - def createAddToLibrary(self, folder, added_identifiers = None): - if not added_identifiers: added_identifiers = [] + def createAddToLibrary(self, folder, added_identifiers = []): def addToLibrary(group, total_found, to_go): if self.in_progress[folder]['total'] is None: