From db52fa001a481ab97100172bb9905fc144c8752d Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 21 Apr 2014 19:26:53 +0200 Subject: updated bottle, fixed a header and referer bug --- pyload/threads/DecrypterThread.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyload/threads') 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: -- cgit v1.2.3