summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilepostCom.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/FilepostCom.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/FilepostCom.py')
-rw-r--r--module/plugins/hoster/FilepostCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FilepostCom.py b/module/plugins/hoster/FilepostCom.py
index 45fb2e644..4090ce92b 100644
--- a/module/plugins/hoster/FilepostCom.py
+++ b/module/plugins/hoster/FilepostCom.py
@@ -99,7 +99,7 @@ class FilepostCom(SimpleHoster):
self.logDebug(json_response)
if not 'js' in json_response:
- self.error('JSON %s 1' % field)
+ self.error("JSON %s 1" % field)
# i changed js_answer to json_response['js'] since js_answer is nowhere set.
# i don't know the JSON-HTTP specs in detail, but the previous author
@@ -123,7 +123,7 @@ class FilepostCom(SimpleHoster):
# ~? self.fail(js_answer['error'])
if not 'answer' in json_response['js'] or not field in json_response['js']['answer']:
- self.error('JSON %s 2' % field)
+ self.error("JSON %s 2" % field)
return json_response['js']['answer'][field]