summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/SerienjunkiesOrg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/SerienjunkiesOrg.py b/module/plugins/crypter/SerienjunkiesOrg.py
index 21afc88e8..5b6295fe7 100644
--- a/module/plugins/crypter/SerienjunkiesOrg.py
+++ b/module/plugins/crypter/SerienjunkiesOrg.py
@@ -72,7 +72,7 @@ class SerienjunkiesOrg(Crypter):
n = unescape(v.string)
n = n.strip()
n = re.sub(r"^([:]?)(.*?)([:]?)$", r'\2', n)
- if not opts.has_key(n.strip()):
+ if n.strip() not in opts:
continue
val = v.nextSibling
if not val:
@@ -99,7 +99,7 @@ class SerienjunkiesOrg(Crypter):
linkgroups = {}
for link in linklist:
key = re.sub("^http://download\.serienjunkies\.org/f-.*?/(.{2})_", "", link)
- if not linkgroups.has_key(key):
+ if key not in linkgroups:
linkgroups[key] = []
linkgroups[key].append(link)
for group in linkgroups.values():