summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/UploadedTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/UploadedTo.py')
-rw-r--r--pyload/plugin/account/UploadedTo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/account/UploadedTo.py b/pyload/plugin/account/UploadedTo.py
index 61765faf8..1b8ae5b27 100644
--- a/pyload/plugin/account/UploadedTo.py
+++ b/pyload/plugin/account/UploadedTo.py
@@ -28,7 +28,7 @@ class UploadedTo(Account):
html = req.load("http://uploaded.net/me")
- premium = True if re.search(self.PREMIUM_PATTERN, html) else False
+ premium = re.search(self.PREMIUM_PATTERN, html) is not None
m = re.search(self.VALID_UNTIL_PATTERN, html, re.M)
if m: