summaryrefslogtreecommitdiffstats
path: root/module/plugins/MultiHoster.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-08 14:44:59 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-08 14:44:59 +0100
commitbac28b7740aae772636d8b90e291d9c17dfd59a7 (patch)
tree08b6bd4f00cf27819f06d24f363d633b852f50a3 /module/plugins/MultiHoster.py
parentsome cleanups (diff)
downloadpyload-bac28b7740aae772636d8b90e291d9c17dfd59a7.tar.xz
new MultiHoster hook
Diffstat (limited to 'module/plugins/MultiHoster.py')
-rw-r--r--module/plugins/MultiHoster.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/MultiHoster.py b/module/plugins/MultiHoster.py
index 047b9155e..abbc14466 100644
--- a/module/plugins/MultiHoster.py
+++ b/module/plugins/MultiHoster.py
@@ -33,7 +33,7 @@ class MultiHoster(Account):
# Timestamp
self.ts = 0
- Account.__init__(*args, **kwargs)
+ Account.__init__(self, *args, **kwargs)
def loadHosterList(self, req):
"""Load list of supported hoster
@@ -63,11 +63,11 @@ class MultiHoster(Account):
req.close()
for rep in self.replacements:
- if rep[0] in self.hosters:
- self.hosters.remove(rep[0])
- if rep[1] not in self.hosters:
- self.hosters.append(rep[1])
+ if rep[0] in self.hoster:
+ self.hoster.remove(rep[0])
+ if rep[1] not in self.hoster:
+ self.hoster.append(rep[1])
self.ts = time()
- return self.hosters \ No newline at end of file
+ return self.hoster \ No newline at end of file