summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BayfilesCom.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/BayfilesCom.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/BayfilesCom.py')
-rw-r--r--module/plugins/hoster/BayfilesCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/BayfilesCom.py b/module/plugins/hoster/BayfilesCom.py
index 8622f4dca..69aab78ef 100644
--- a/module/plugins/hoster/BayfilesCom.py
+++ b/module/plugins/hoster/BayfilesCom.py
@@ -39,7 +39,7 @@ class BayfilesCom(SimpleHoster):
# Get download token
m = re.search(self.VARS_PATTERN, self.html)
if m is None:
- self.error('VARS')
+ self.error("VARS")
vfid, delay = m.groups()
response = json_loads(self.load('http://bayfiles.com/ajax_download', get={
@@ -48,7 +48,7 @@ class BayfilesCom(SimpleHoster):
"vfid": vfid}, decode=True))
if not "token" in response or not response['token']:
- self.fail('No token')
+ self.fail("No token")
self.wait(int(delay))