summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RehostTo.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-14 19:53:55 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-14 19:53:55 +0100
commit9d8d8db40662aeeb8ebbc5e6934d39f84574dd80 (patch)
treecff8ab2e9c20cd8a4b27b42b704c75377d343fd6 /module/plugins/hooks/RehostTo.py
parentrehost,to timeout fix (diff)
downloadpyload-9d8d8db40662aeeb8ebbc5e6934d39f84574dd80.tar.xz
improved plugin loader, import hook to always use newest plugin versions
Diffstat (limited to 'module/plugins/hooks/RehostTo.py')
-rw-r--r--module/plugins/hooks/RehostTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/RehostTo.py b/module/plugins/hooks/RehostTo.py
index f0a95d925..34bcbf4c7 100644
--- a/module/plugins/hooks/RehostTo.py
+++ b/module/plugins/hooks/RehostTo.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.common.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHoster import MultiHoster
class RehostTo(MultiHoster):
__name__ = "RehostTo"
@@ -24,7 +24,7 @@ class RehostTo(MultiHoster):
def coreReady(self):
- self.account = self.core.accountManager.getAccountPlugin("RehostTo")
+ self.account = self.core.accountManager.loadClass("accounts", "RehostTo")
user = self.account.selectAccount()[0]