diff options
author | synweap15 <shamdog+github@gmail.com> | 2014-09-16 23:20:17 +0200 |
---|---|---|
committer | synweap15 <shamdog+github@gmail.com> | 2014-09-16 23:20:17 +0200 |
commit | 1e90f0a46b7fd0f1d9376ea966e1650afa782c37 (patch) | |
tree | 81448b8d693edfa957233c27db95a24684edf018 /module/plugins | |
parent | fail messages localization and dictionary (diff) | |
download | pyload-1e90f0a46b7fd0f1d9376ea966e1650afa782c37.tar.xz |
fix to work with python 2.5
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/RapideoPl.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/RapideoPl.py b/module/plugins/hoster/RapideoPl.py index 1047b1002..0c46c0593 100644 --- a/module/plugins/hoster/RapideoPl.py +++ b/module/plugins/hoster/RapideoPl.py @@ -61,14 +61,14 @@ class RapideoPl(SimpleHoster): self.get_username_password() try: data = self.runFileQuery(pyfile.url, 'fileinfo') - except Exception as e: - self.logDebug(str(e)) + except Exception: + self.logDebug("RunFileQuery error") self.tempOffline() try: parsed = loads(data) - except Exception as e: - self.logDebug(str(e)) + except Exception: + self.logDebug("Loads error") self.tempOffline() self.logDebug(parsed) @@ -95,8 +95,8 @@ class RapideoPl(SimpleHoster): try: result_dl = self.runFileQuery(pyfile.url, 'filedownload') - except Exception as e: - self.logDebug(str(e)) + except Exception: + self.logDebug("runFileQuery error #2") self.tempOffline() self.download(result_dl, disposition=True) |