summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BasePlugin.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-06 17:18:40 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-06 17:18:40 +0100
commitca0ce20d5a805080f69dad4c24997ace1958bbcb (patch)
tree7208656c5880b340d182a9f2d3752b2fbe26c18e /module/plugins/hoster/BasePlugin.py
parent[RestartSlow] Temp removed (diff)
downloadpyload-ca0ce20d5a805080f69dad4c24997ace1958bbcb.tar.xz
Plugin code cosmetics
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 0b1888e3b..c8d632dc7 100644
--- a/module/plugins/hoster/BasePlugin.py
+++ b/module/plugins/hoster/BasePlugin.py
@@ -60,7 +60,7 @@ class BasePlugin(Hoster):
self.logDebug("Logging on to %s" % server)
self.req.addAuth(account.accounts[server]['password'])
else:
- for pwd in pyfile.package().password.splitlines():
+ for pwd in self.getPassword().splitlines():
if ":" in pwd:
self.req.addAuth(pwd.strip())
break