diff options
author | Sahil Shekhawat <sahilshekhawat01@gmail.com> | 2015-01-11 14:54:48 +0100 |
---|---|---|
committer | Sahil Shekhawat <sahilshekhawat01@gmail.com> | 2015-01-11 14:54:48 +0100 |
commit | d2b60b5ceb369814a0de41c8b8744b5c4ed81523 (patch) | |
tree | 6619e01fc0e5f281e4d28678ec565860a86784ec /module/plugins/hoster/Ftp.py | |
parent | updated nitroflare.com's plugin (diff) | |
parent | Code improvements (diff) | |
download | pyload-d2b60b5ceb369814a0de41c8b8744b5c4ed81523.tar.xz |
Merged with the updated nitroflare
Diffstat (limited to 'module/plugins/hoster/Ftp.py')
-rw-r--r-- | module/plugins/hoster/Ftp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/Ftp.py b/module/plugins/hoster/Ftp.py index c6ad68e49..3daf50bc5 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.44" + __version__ = "0.45" __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.accounts[netloc]['password']) + self.req.addAuth(self.account.getAccountData(netloc)['password']) else: pwd = self.getPassword() if ':' in pwd: |