summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/CzshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-27 01:18:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-27 01:18:45 +0100
commit146fe1e309c33ab149bfaf58ad86c0dd4fb9b156 (patch)
tree22bf2ace19d926392dbe7ba48e44c13c63cd368a /module/plugins/hoster/CzshareCom.py
parent[SimpleHoster] Direct download link support (diff)
downloadpyload-146fe1e309c33ab149bfaf58ad86c0dd4fb9b156.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/CzshareCom.py')
-rw-r--r--module/plugins/hoster/CzshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py
index 5396a7826..91c3877f8 100644
--- a/module/plugins/hoster/CzshareCom.py
+++ b/module/plugins/hoster/CzshareCom.py
@@ -58,7 +58,7 @@ class CzshareCom(SimpleHoster):
return False
except Exception, e:
# let's continue and see what happens...
- self.logError(repr(e))
+ self.logError(str(e))
return True
@@ -69,7 +69,7 @@ class CzshareCom(SimpleHoster):
form = re.search(self.PREMIUM_FORM_PATTERN, self.html, re.S).group(1)
inputs = dict(re.findall(self.FORM_INPUT_PATTERN, form))
except Exception, e:
- self.logError(repr(e))
+ self.logError(str(e))
self.resetAccount()
# download the file, destination is determined by pyLoad