diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-04 20:26:13 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-04 20:26:13 +0100 |
commit | 7979d0833573a107baae8c45330b8b5874630a76 (patch) | |
tree | eaa2c71065c33067de56bdd8763e9ef3d690263f /module/plugins/hooks/EasybytezCom.py | |
parent | [PremiumTo] CHECK_TRAFFIC (diff) | |
download | pyload-7979d0833573a107baae8c45330b8b5874630a76.tar.xz |
Spare code improvements
Diffstat (limited to 'module/plugins/hooks/EasybytezCom.py')
-rw-r--r-- | module/plugins/hooks/EasybytezCom.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hooks/EasybytezCom.py b/module/plugins/hooks/EasybytezCom.py index 16149580c..1606c9f30 100644 --- a/module/plugins/hooks/EasybytezCom.py +++ b/module/plugins/hooks/EasybytezCom.py @@ -8,7 +8,7 @@ from module.plugins.internal.MultiHook import MultiHook class EasybytezCom(MultiHook): __name__ = "EasybytezCom" __type__ = "hook" - __version__ = "0.05" + __version__ = "0.06" __config__ = [("mode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("pluginlist", "str", "Hoster list (comma separated)", "")] @@ -19,8 +19,7 @@ class EasybytezCom(MultiHook): def getHosters(self): - self.account = self.core.accountManager.getAccountPlugin(self.__name__) - user = self.account.selectAccount()[0] + user, data = self.account.selectAccount() try: req = self.account.getAccountRequest(user) |