summaryrefslogtreecommitdiffstats
path: root/pyload/threads
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-04-21 19:26:53 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-04-21 19:26:53 +0200
commitdb52fa001a481ab97100172bb9905fc144c8752d (patch)
treea0f9be62360ff7693c6478015a15f85bc9eb2462 /pyload/threads
parentMoving new plugins from module to pyload (diff)
downloadpyload-db52fa001a481ab97100172bb9905fc144c8752d.tar.xz
updated bottle, fixed a header and referer bug
Diffstat (limited to 'pyload/threads')
-rw-r--r--pyload/threads/DecrypterThread.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyload/threads/DecrypterThread.py b/pyload/threads/DecrypterThread.py
index 9b26e468d..ad70ca6ba 100644
--- a/pyload/threads/DecrypterThread.py
+++ b/pyload/threads/DecrypterThread.py
@@ -5,7 +5,7 @@ from time import sleep
from pyload.Api import LinkStatus, DownloadStatus as DS, ProgressInfo, ProgressType
from pyload.utils import uniqify, accumulate
-from pyload.plugins.Base import Abort, Retry
+from pyload.plugins.Base import Abort, Retry, Fail
from pyload.plugins.Crypter import Package
from BaseThread import BaseThread
@@ -96,7 +96,8 @@ class DecrypterThread(BaseThread):
if err:
plugin_result.extend(LinkStatus(url, url, -1, DS.Failed, name) for url in urls)
- if self.core.debug:
+ # no debug for intentional errors
+ if self.core.debug and not isinstance(e, Fail):
self.core.print_exc()
self.writeDebugReport(plugin.__name__, plugin=plugin)
finally: