summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/WrzucTo.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 02:53:05 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 02:53:05 +0200
commite3f5280529921100f48bb8a79853bf480c7611e4 (patch)
treef1005d656b123b1b7c5ffb9e4ef1e39c7fa4460e /module/plugins/hoster/WrzucTo.py
parentSpare code cosmetics (diff)
downloadpyload-e3f5280529921100f48bb8a79853bf480c7611e4.tar.xz
Replace single quotes with doubles in self.error and self.fail msg
Diffstat (limited to 'module/plugins/hoster/WrzucTo.py')
-rw-r--r--module/plugins/hoster/WrzucTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/WrzucTo.py b/module/plugins/hoster/WrzucTo.py
index b3b917018..28d4f4716 100644
--- a/module/plugins/hoster/WrzucTo.py
+++ b/module/plugins/hoster/WrzucTo.py
@@ -32,7 +32,7 @@ class WrzucTo(SimpleHoster):
def handleFree(self):
data = dict(re.findall(r'(md5|file): "(.*?)"', self.html))
if len(data) != 2:
- self.error('File ID')
+ self.error("File ID")
self.req.http.c.setopt(HTTPHEADER, ["X-Requested-With: XMLHttpRequest"])
self.req.http.lastURL = self.pyfile.url
@@ -43,7 +43,7 @@ class WrzucTo(SimpleHoster):
data.update(re.findall(r'"(download_link|server_id)":"(.*?)"', self.html))
if len(data) != 4:
- self.error('Download URL')
+ self.error("Download URL")
download_url = "http://%s.wrzuc.to/pobierz/%s" % (data['server_id'], data['download_link'])
self.download(download_url)