summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/KingfilesNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/KingfilesNet.py')
-rw-r--r--module/plugins/hoster/KingfilesNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/KingfilesNet.py b/module/plugins/hoster/KingfilesNet.py
index e8aefa53b..208946805 100644
--- a/module/plugins/hoster/KingfilesNet.py
+++ b/module/plugins/hoster/KingfilesNet.py
@@ -78,8 +78,8 @@ class KingfilesNet(SimpleHoster):
dl_url = m.group(1)
self.download(dl_url, cookies=True, disposition=True)
- check = self.checkDownload({'is_html': re.compile("<html>")})
- if check == "is_html":
+ check = self.checkDownload({'html': re.compile("<html>")})
+ if check == "html":
self.parseError("Downloaded file is an html file")