summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/MegaDebridEu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-14 16:10:01 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:26:07 +0200
commit7b8c458cca7d21a029620f98e453f746fce69cd1 (patch)
tree9e97b0003a00ff8ac9ee6b777d94bb998c911d05 /module/plugins/hooks/MegaDebridEu.py
parentFix code indentation, some bad whitespaces and missing authors + use 'not' in... (diff)
downloadpyload-7b8c458cca7d21a029620f98e453f746fce69cd1.tar.xz
Prefer single quote for dict key name
Diffstat (limited to 'module/plugins/hooks/MegaDebridEu.py')
-rw-r--r--module/plugins/hooks/MegaDebridEu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/MegaDebridEu.py b/module/plugins/hooks/MegaDebridEu.py
index 31be74fdd..22945cc0f 100644
--- a/module/plugins/hooks/MegaDebridEu.py
+++ b/module/plugins/hooks/MegaDebridEu.py
@@ -36,7 +36,7 @@ class MegaDebridEu(MultiHoster):
reponse = getURL('http://www.mega-debrid.eu/api.php?action=getHosters')
json_data = json_loads(reponse)
- if json_data["response_code"] == "ok":
+ if json_data['response_code'] == "ok":
host_list = [element[0] for element in json_data['hosters']]
else:
self.logError("Unable to retrieve hoster list")