summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/LinkdecrypterCom.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/LinkdecrypterCom.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/LinkdecrypterCom.py')
-rw-r--r--module/plugins/hooks/LinkdecrypterCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/LinkdecrypterCom.py b/module/plugins/hooks/LinkdecrypterCom.py
index 75995faf2..d6acac4a9 100644
--- a/module/plugins/hooks/LinkdecrypterCom.py
+++ b/module/plugins/hooks/LinkdecrypterCom.py
@@ -48,7 +48,7 @@ class LinkdecrypterCom(Hook):
return
builtin = [name.lower() for name in self.core.pluginManager.crypterPlugins.keys()]
- builtin.extend(["downloadserienjunkiesorg"])
+ builtin.append("downloadserienjunkiesorg")
crypter_pattern = re.compile("(\w[\w.-]+)")
online = []
@@ -64,7 +64,7 @@ class LinkdecrypterCom(Hook):
regexp = r"https?://([^.]+\.)*?(%s)/.*" % "|".join(online)
dict = self.core.pluginManager.crypterPlugins[self.__name__]
- dict["pattern"] = regexp
- dict["re"] = re.compile(regexp)
+ dict['pattern'] = regexp
+ dict['re'] = re.compile(regexp)
self.logDebug("REGEXP: " + regexp)