diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-06 14:40:21 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-06 14:40:21 +0200 |
commit | 8606861d9a33674c3de4e1fe50c8d9727abaf6ac (patch) | |
tree | e477336504aad64b6e3b738af1f8b3befba6cfbf /module/PluginThread.py | |
parent | webif plugin config preparations (diff) | |
download | pyload-8606861d9a33674c3de4e1fe50c8d9727abaf6ac.tar.xz |
hook deactivating
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index 1adf15172..35ad796b3 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -118,6 +118,9 @@ class DownloadThread(PluginThread): code, msg = e print "pycurl error", code, msg + if self.m.core.debug: + print_exc() + self.active = False pyfile.release() continue @@ -125,6 +128,7 @@ class DownloadThread(PluginThread): except Exception, e: pyfile.setStatus("failed") self.m.log.error(_("Download failed: %s | %s") % (pyfile.name, str(e))) + pyfile.error = str(e) if self.m.core.debug: print_exc() |