summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RehostTo.py
diff options
context:
space:
mode:
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]