summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileshareInUa.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FileshareInUa.py')
-rw-r--r--module/plugins/hoster/FileshareInUa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FileshareInUa.py b/module/plugins/hoster/FileshareInUa.py
index 4ec33485e..52e084b9c 100644
--- a/module/plugins/hoster/FileshareInUa.py
+++ b/module/plugins/hoster/FileshareInUa.py
@@ -46,7 +46,7 @@ class FileshareInUa(Hoster):
def _getName(self):
name = re.search(self.PATTERN_FILENAME, self.html)
- if name is None:
+ if not name:
self.fail("%s: Plugin broken." % self.__name__)
return name.group(1)
@@ -66,7 +66,7 @@ def getInfo(urls):
else:
name = re.search(FileshareInUa.PATTERN_FILENAME, html)
- if name is None:
+ if not name:
result.append((url, 0, 1, url))
continue