summaryrefslogtreecommitdiffstats
path: root/pyload
diff options
context:
space:
mode:
Diffstat (limited to 'pyload')
-rw-r--r--pyload/api/DownloadApi.py2
-rw-r--r--pyload/threads/ThreadManager.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pyload/api/DownloadApi.py b/pyload/api/DownloadApi.py
index d6719ee1d..4aa7b673a 100644
--- a/pyload/api/DownloadApi.py
+++ b/pyload/api/DownloadApi.py
@@ -80,7 +80,7 @@ class DownloadApi(ApiComponent):
if hoster:
self.core.threadManager.createInfoThread(hoster, pid)
- self.core.log.info((_("Added %d links to package") + " #%d" % pid) % len(hoster))
+ self.core.log.info((_("Added %d links to package") + " #%d" % pid) % len(hoster+crypter))
self.core.files.save()
@RequirePerm(Permission.Add)
diff --git a/pyload/threads/ThreadManager.py b/pyload/threads/ThreadManager.py
index 0e0b6320d..62664a590 100644
--- a/pyload/threads/ThreadManager.py
+++ b/pyload/threads/ThreadManager.py
@@ -150,7 +150,7 @@ class ThreadManager:
return [x.id for x in self.getActiveFiles()]
def work(self):
- """run all task which have to be done (this is for repetetive call by core)"""
+ """run all task which have to be done (this is for repetitive call by core)"""
try:
self.tryReconnect()
except Exception, e: