From d2e2b127651a5a44b56337eb6d9ca246c97a208a Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 17 Jul 2015 03:03:26 +0200 Subject: Spare fixes and code cosmetics --- module/plugins/hoster/BasePlugin.py | 4 ++-- module/plugins/hoster/BezvadataCz.py | 2 +- module/plugins/hoster/CloudzillaTo.py | 2 +- module/plugins/hoster/FastixRu.py | 2 +- module/plugins/hoster/FilecloudIo.py | 2 +- module/plugins/hoster/FileserveCom.py | 2 +- module/plugins/hoster/FreeWayMe.py | 4 ++-- module/plugins/hoster/Ftp.py | 4 ++-- module/plugins/hoster/LetitbitNet.py | 2 +- module/plugins/hoster/LinksnappyCom.py | 2 +- module/plugins/hoster/MegaDebridEu.py | 2 +- module/plugins/hoster/MegaRapidoNet.py | 2 +- module/plugins/hoster/MyfastfileCom.py | 2 +- module/plugins/hoster/NoPremiumPl.py | 2 +- module/plugins/hoster/OboomCom.py | 2 +- module/plugins/hoster/OverLoadMe.py | 2 +- module/plugins/hoster/PremiumizeMe.py | 2 +- module/plugins/hoster/RPNetBiz.py | 2 +- module/plugins/hoster/RapideoPl.py | 2 +- module/plugins/hoster/RapidgatorNet.py | 2 +- module/plugins/hoster/RehostTo.py | 2 +- module/plugins/hoster/ShareonlineBiz.py | 2 +- module/plugins/hoster/SmoozedCom.py | 2 +- module/plugins/hoster/UlozTo.py | 2 +- module/plugins/hoster/UploadheroCom.py | 2 +- module/plugins/hoster/WebshareCz.py | 2 +- module/plugins/hoster/XFileSharingPro.py | 8 ++++---- 27 files changed, 33 insertions(+), 33 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index 7fc0426ea..909b350c9 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -66,12 +66,12 @@ class BasePlugin(Hoster): self.log_debug("Auth required", "Received HTTP status code: %d" % e.code) account = self.core.accountManager.getAccountPlugin('Http') - servers = [x['login'] for x in account.getAllAccounts()] + servers = [x['login'] for x in account.get_all_accounts()] server = urlparse.urlparse(pyfile.url).netloc if server in servers: self.log_debug("Logging on to %s" % server) - self.req.addAuth(account.getAccountData(server)['password']) + self.req.addAuth(account.get_account_data(server)['password']) else: pwd = self.get_password() if ':' in pwd: diff --git a/module/plugins/hoster/BezvadataCz.py b/module/plugins/hoster/BezvadataCz.py index f0514b817..91d7e68b8 100644 --- a/module/plugins/hoster/BezvadataCz.py +++ b/module/plugins/hoster/BezvadataCz.py @@ -85,7 +85,7 @@ class BezvadataCz(SimpleHoster): elif '