summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BasePlugin.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 11:44:49 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 11:44:49 +0200
commit56389e28ba5d2f5658278bc7f486d73be747f135 (patch)
treeac51ad216508487294b15fcaebc813b3add5c393 /module/plugins/hoster/BasePlugin.py
parentCode cosmetics (3) (diff)
downloadpyload-56389e28ba5d2f5658278bc7f486d73be747f135.tar.xz
Rename self.core to self.pyload (plugins only)
Diffstat (limited to 'module/plugins/hoster/BasePlugin.py')
-rw-r--r--module/plugins/hoster/BasePlugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py
index ed8c8b32c..e9871e366 100644
--- a/module/plugins/hoster/BasePlugin.py
+++ b/module/plugins/hoster/BasePlugin.py
@@ -65,7 +65,7 @@ class BasePlugin(Hoster):
elif e.code in (401, 403):
self.log_debug("Auth required", "Received HTTP status code: %d" % e.code)
- account = self.core.accountManager.getAccountPlugin('Http')
+ account = self.pyload.accountManager.getAccountPlugin('Http')
servers = [x['login'] for x in account.get_all_accounts()]
server = urlparse.urlparse(pyfile.url).netloc