diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-20 21:38:42 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-20 23:01:29 +0200 |
commit | 9327b55e147d95b5865f23788f980c7268ea03e3 (patch) | |
tree | 0260b6f90b9e6fab5548e29e44b6d66f3334c98e /pyload/plugin/account/UploadingCom.py | |
parent | PEP-8, Python Zen, refactor and reduce code (part 9 in master module/network) (diff) | |
download | pyload-9327b55e147d95b5865f23788f980c7268ea03e3.tar.xz |
Spare code cosmetics (7)
Diffstat (limited to 'pyload/plugin/account/UploadingCom.py')
-rw-r--r-- | pyload/plugin/account/UploadingCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/account/UploadingCom.py b/pyload/plugin/account/UploadingCom.py index f5333dd4c..992e63615 100644 --- a/pyload/plugin/account/UploadingCom.py +++ b/pyload/plugin/account/UploadingCom.py @@ -28,7 +28,7 @@ class UploadingCom(Account): html = req.load("http://uploading.com/") - premium = False if re.search(self.PREMIUM_PATTERN, html) else True + premium = re.search(self.PREMIUM_PATTERN, html) is None m = re.search(self.VALID_UNTIL_PATTERN, html) if m: |