summaryrefslogtreecommitdiffstats
path: root/module/threads/DecrypterThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/threads/DecrypterThread.py')
-rw-r--r--module/threads/DecrypterThread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/threads/DecrypterThread.py b/module/threads/DecrypterThread.py
index 8edb97c34..ce3c8cd83 100644
--- a/module/threads/DecrypterThread.py
+++ b/module/threads/DecrypterThread.py
@@ -72,7 +72,7 @@ class DecrypterThread(BaseThread):
self.log.info(_("Decrypted %(count)d links into package %(name)s") % {"count": len(urls), "name": pack.name})
self.m.core.api.addFiles(self.pid, urls)
- for p in pack_names:
+ for p in pack_names.itervalues():
self.m.core.api.addPackage(p.name, p.urls, p.dest, pack.password)
if not result: