diff options
Diffstat (limited to 'module/plugins/accounts/PremiumizeMe.py')
-rw-r--r-- | module/plugins/accounts/PremiumizeMe.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/accounts/PremiumizeMe.py b/module/plugins/accounts/PremiumizeMe.py index 01ac36ab6..abd9fe14c 100644 --- a/module/plugins/accounts/PremiumizeMe.py +++ b/module/plugins/accounts/PremiumizeMe.py @@ -9,7 +9,7 @@ from module.plugins.Account import Account class PremiumizeMe(Account): __name__ = "PremiumizeMe" __type__ = "account" - __version__ = "0.14" + __version__ = "0.15" __description__ = """Premiumize.me account plugin""" __license__ = "GPLv3" @@ -18,7 +18,8 @@ class PremiumizeMe(Account): def getAccountRequest(self, user=None): req = super(PremiumizeMe, self).getAccountRequest(user) - req.http.c.setopt(pycurl.CURLOPT_SSL_CIPHER_LIST, "TLSv1") + if req: + req.http.c.setopt(pycurl.CURLOPT_SSL_CIPHER_LIST, "TLSv1") return req |