diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 02:53:05 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 02:53:05 +0200 |
commit | e3f5280529921100f48bb8a79853bf480c7611e4 (patch) | |
tree | f1005d656b123b1b7c5ffb9e4ef1e39c7fa4460e /module/plugins/hoster/CzshareCom.py | |
parent | Spare code cosmetics (diff) | |
download | pyload-e3f5280529921100f48bb8a79853bf480c7611e4.tar.xz |
Replace single quotes with doubles in self.error and self.fail msg
Diffstat (limited to 'module/plugins/hoster/CzshareCom.py')
-rw-r--r-- | module/plugins/hoster/CzshareCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py index be1c3ab97..5c31958d7 100644 --- a/module/plugins/hoster/CzshareCom.py +++ b/module/plugins/hoster/CzshareCom.py @@ -81,7 +81,7 @@ class CzshareCom(SimpleHoster): # get free url m = re.search(self.FREE_URL_PATTERN, self.html) if m is None: - self.error('Free URL') + self.error("Free URL") parsed_url = "http://sdilej.cz" + m.group(1) self.logDebug("PARSED_URL:" + parsed_url) @@ -96,7 +96,7 @@ class CzshareCom(SimpleHoster): self.pyfile.size = int(inputs['size']) except Exception, e: self.logError(e) - self.error('Form') + self.error("Form") # get and decrypt captcha captcha_url = 'http://sdilej.cz/captcha.php' @@ -120,7 +120,7 @@ class CzshareCom(SimpleHoster): self.logDebug("WAIT URL", self.req.lastEffectiveURL) m = re.search("free_wait.php\?server=(.*?)&(.*)", self.req.lastEffectiveURL) if m is None: - self.error('Download URL') + self.error("Download URL") url = "http://%s/download.php?%s" % (m.group(1), m.group(2)) |