summaryrefslogtreecommitdiffstats
path: root/module/threads/DownloadThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/threads/DownloadThread.py')
-rw-r--r--module/threads/DownloadThread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/threads/DownloadThread.py b/module/threads/DownloadThread.py
index e140703d5..c151831a3 100644
--- a/module/threads/DownloadThread.py
+++ b/module/threads/DownloadThread.py
@@ -156,7 +156,7 @@ class DownloadThread(BaseThread):
self.log.error("pycurl error %s: %s" % (code, msg))
if self.core.debug:
print_exc()
- self.writeDebugReport(pyfile.pluginname, pyfile)
+ self.writeDebugReport(pyfile.plugin.__name__, pyfile)
self.core.hookManager.downloadFailed(pyfile)
@@ -186,7 +186,7 @@ class DownloadThread(BaseThread):
if self.core.debug:
print_exc()
- self.writeDebugReport(pyfile.pluginname, pyfile)
+ self.writeDebugReport(pyfile.plugin.__name__, pyfile)
self.core.hookManager.downloadFailed(pyfile)
self.clean(pyfile)