diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/accounts/ReloadCc.py | 4 | ||||
-rw-r--r-- | module/plugins/hoster/ReloadCc.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/ReloadCc.py b/module/plugins/accounts/ReloadCc.py index 0916499e8..e4cb32c42 100644 --- a/module/plugins/accounts/ReloadCc.py +++ b/module/plugins/accounts/ReloadCc.py @@ -6,7 +6,7 @@ from module.network.HTTPRequest import BadHeader class ReloadCc(Account): __name__ = "ReloadCc" - __version__ = "0.2" + __version__ = "0.3" __type__ = "account" __description__ = """Reload.Cc account plugin""" @@ -54,7 +54,7 @@ class ReloadCc(Account): try: answer = req.load("http://api.reload.cc/login", get=query_params) - except BadHeader as e: + except BadHeader, e: if e.code == 400: raise Exception("There was an unknown error within the Reload.cc plugin.") elif e.code == 401: diff --git a/module/plugins/hoster/ReloadCc.py b/module/plugins/hoster/ReloadCc.py index d56247868..6edce3b14 100644 --- a/module/plugins/hoster/ReloadCc.py +++ b/module/plugins/hoster/ReloadCc.py @@ -6,7 +6,7 @@ from module.network.HTTPRequest import BadHeader class ReloadCc(Hoster): __name__ = "ReloadCc" - __version__ = "0.2" + __version__ = "0.3" __type__ = "hoster" __description__ = """Reload.Cc hoster plugin""" @@ -48,7 +48,7 @@ class ReloadCc(Hoster): try: answer = self.load("https://api.reload.cc/dl", get=query_params) - except BadHeader as e: + except BadHeader, e: if e.code == 400: self.fail("The URI is not supported by Reload.cc.") elif e.code == 401: @@ -87,7 +87,7 @@ class ReloadCc(Hoster): try: self.download(data['link'], disposition=True) - except BadHeader as e: + except BadHeader, e: if e.code == 404: self.fail("File Not Found") elif e.code == 412: |