summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/EasybytezComHook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
commit1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch)
tree820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/hooks/EasybytezComHook.py
parentSpare fixes and code cosmetics (diff)
downloadpyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/hooks/EasybytezComHook.py')
-rw-r--r--module/plugins/hooks/EasybytezComHook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/EasybytezComHook.py b/module/plugins/hooks/EasybytezComHook.py
index 69f3a2a34..084c01eb7 100644
--- a/module/plugins/hooks/EasybytezComHook.py
+++ b/module/plugins/hooks/EasybytezComHook.py
@@ -23,7 +23,7 @@ class EasybytezComHook(MultiHook):
def get_hosters(self):
user, data = self.account.select_account()
- req = self.account.get_account_request(user)
- html = self.load("http://www.easybytez.com", req=req)
+ html = self.load("http://www.easybytez.com",
+ req=self.account.get_account_request(user))
return re.search(r'</textarea>\s*Supported sites:(.*)', html).group(1).split(',')