summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Ftp.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-11 20:20:43 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-11 20:20:43 +0100
commit187586c77f750340c2d8c84781c82a3e612f17c3 (patch)
tree6ef89bf039cff4ec6149c2e9de8e3794b714cb9b /module/plugins/hoster/Ftp.py
parent[NitroflareCom] Fix bad import (diff)
downloadpyload-187586c77f750340c2d8c84781c82a3e612f17c3.tar.xz
Fix getAccount in some plugins
Diffstat (limited to 'module/plugins/hoster/Ftp.py')
-rw-r--r--module/plugins/hoster/Ftp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/Ftp.py b/module/plugins/hoster/Ftp.py
index 3daf50bc5..8562778c4 100644
--- a/module/plugins/hoster/Ftp.py
+++ b/module/plugins/hoster/Ftp.py
@@ -12,7 +12,7 @@ from module.plugins.Hoster import Hoster
class Ftp(Hoster):
__name__ = "Ftp"
__type__ = "hoster"
- __version__ = "0.45"
+ __version__ = "0.46"
__pattern__ = r'(?:ftps?|sftp)://([\w.-]+(:[\w.-]+)?@)?[\w.-]+(:\d+)?/.+'
@@ -43,7 +43,7 @@ class Ftp(Hoster):
if netloc in servers:
self.logDebug("Logging on to %s" % netloc)
- self.req.addAuth(self.account.getAccountData(netloc)['password'])
+ self.req.addAuth(self.account.getAccountInfo(netloc)['password'])
else:
pwd = self.getPassword()
if ':' in pwd: