summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RealdebridCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 20:59:01 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 20:59:01 +0200
commit853d29a0f12cdcb6c406b829a57439c7ea9b570d (patch)
tree047d94a11037617521c7a50130a6ead538c5daf7 /module/plugins/hooks/RealdebridCom.py
parentfixed config on webif + show description (diff)
downloadpyload-853d29a0f12cdcb6c406b829a57439c7ea9b570d.tar.xz
has_key refractored, package name generator by Geek
Diffstat (limited to 'module/plugins/hooks/RealdebridCom.py')
-rw-r--r--module/plugins/hooks/RealdebridCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/RealdebridCom.py b/module/plugins/hooks/RealdebridCom.py
index 2c8bf1259..59035926a 100644
--- a/module/plugins/hooks/RealdebridCom.py
+++ b/module/plugins/hooks/RealdebridCom.py
@@ -48,7 +48,7 @@ class RealdebridCom(Hook):
for hoster in self.getHostersCached():
name = removeChars(hoster.lower(), "-.")
- if pluginMap.has_key(name):
+ if name in pluginMap:
supported.append(pluginMap[name])
else:
new_supported.append(hoster)