summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Http.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-31 15:40:01 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-31 15:40:01 +0100
commit3f4a19e7869afb0c856ccffc1124339899fd464b (patch)
treebb07fdc01379ff977f5c8843accaa4749d29bad5 /module/plugins/hoster/Http.py
parent[Addon] Fix download_finished call (diff)
downloadpyload-3f4a19e7869afb0c856ccffc1124339899fd464b.tar.xz
Spare code fixed + isdownload -> isresource
Diffstat (limited to 'module/plugins/hoster/Http.py')
-rw-r--r--module/plugins/hoster/Http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/Http.py b/module/plugins/hoster/Http.py
index f324ee986..9d03b189b 100644
--- a/module/plugins/hoster/Http.py
+++ b/module/plugins/hoster/Http.py
@@ -29,7 +29,7 @@ class Http(Hoster):
url = re.sub(r'^(jd|py)', "http", pyfile.url)
netloc = urlparse.urlparse(url).netloc
- link = self.isdownload(url)
+ link = self.isresource(url)
if not link:
return