summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/EasybytezCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-04 20:26:13 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-04 20:26:13 +0100
commit7979d0833573a107baae8c45330b8b5874630a76 (patch)
treeeaa2c71065c33067de56bdd8763e9ef3d690263f /module/plugins/hooks/EasybytezCom.py
parent[PremiumTo] CHECK_TRAFFIC (diff)
downloadpyload-7979d0833573a107baae8c45330b8b5874630a76.tar.xz
Spare code improvements
Diffstat (limited to 'module/plugins/hooks/EasybytezCom.py')
-rw-r--r--module/plugins/hooks/EasybytezCom.py5
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)