summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/TwoSharedCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/TwoSharedCom.py')
-rw-r--r--module/plugins/hoster/TwoSharedCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/TwoSharedCom.py b/module/plugins/hoster/TwoSharedCom.py
index 74a9dbe08..d50248c4d 100644
--- a/module/plugins/hoster/TwoSharedCom.py
+++ b/module/plugins/hoster/TwoSharedCom.py
@@ -26,7 +26,7 @@ class TwoSharedCom(SimpleHoster):
def handleFree(self):
found = re.search(self.LINK_PATTERN, self.html)
- if not found:
+ if found is None:
self.parseError('Download link')
link = found.group(1)
self.logDebug("Download URL %s" % link)