summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/extractor/UnRar.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/extractor/UnRar.py')
-rw-r--r--pyload/plugin/extractor/UnRar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/extractor/UnRar.py b/pyload/plugin/extractor/UnRar.py
index cad58ff4f..38ae4e8f2 100644
--- a/pyload/plugin/extractor/UnRar.py
+++ b/pyload/plugin/extractor/UnRar.py
@@ -81,7 +81,7 @@ class UnRar(Extractor):
@classmethod
def isMultipart(cls, filename):
- return True if cls.re_multipart.search(filename) else False
+ return cls.re_multipart.search(filename) is not None
def verify(self, password):