From 3f4a19e7869afb0c856ccffc1124339899fd464b Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 31 Dec 2015 15:40:01 +0100 Subject: Spare code fixed + isdownload -> isresource --- module/plugins/hoster/TusfilesNet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/TusfilesNet.py') diff --git a/module/plugins/hoster/TusfilesNet.py b/module/plugins/hoster/TusfilesNet.py index cbab4e856..3bc5b104a 100644 --- a/module/plugins/hoster/TusfilesNet.py +++ b/module/plugins/hoster/TusfilesNet.py @@ -40,6 +40,6 @@ class TusfilesNet(XFSHoster): return super(TusfilesNet, self).download(url, *args, **kwargs) except BadHeader, e: - if e.code is 503: + if e.code == 503: self.multiDL = False raise Retry("503") -- cgit v1.2.3