diff options
-rw-r--r-- | module/plugins/hooks/ExternalScripts.py | 6 | ||||
-rw-r--r-- | module/plugins/hoster/Http.py | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py index 8914cfa6c..6a11f8c6a 100644 --- a/module/plugins/hooks/ExternalScripts.py +++ b/module/plugins/hooks/ExternalScripts.py @@ -10,7 +10,7 @@ from module.plugins.internal.utils import encode, fs_join class ExternalScripts(Addon): __name__ = "ExternalScripts" __type__ = "hook" - __version__ = "0.51" + __version__ = "0.52" __status__ = "testing" __config__ = [("activated", "bool", "Activated" , True ), @@ -133,7 +133,7 @@ class ExternalScripts(Addon): dl_folder = self.pyload.config.get("general", "download_folder") file = fs_join(dl_folder, pyfile.name) - args = [script, pyfile.id, pyfile.name, file, pyfile.pluginname, pyfile.url] + args = [pyfile.id, pyfile.name, file, pyfile.pluginname, pyfile.url] self._call("download_failed", args) @@ -154,7 +154,7 @@ class ExternalScripts(Addon): def archive_extracted(self, pyfile, archive): - args = [script, pyfile.id, pyfile.name, archive.filename, archive.out, archive.files] + args = [pyfile.id, pyfile.name, archive.filename, archive.out, archive.files] self._call("archive_extracted", args) diff --git a/module/plugins/hoster/Http.py b/module/plugins/hoster/Http.py index 4be6d4f11..4e7ad0316 100644 --- a/module/plugins/hoster/Http.py +++ b/module/plugins/hoster/Http.py @@ -4,8 +4,7 @@ import re import urlparse from module.network.HTTPRequest import BadHeader -from module.plugins.internal.SimpleHoster import create_getInfo -from module.plugins.internal.Hoster import Hoster +from module.plugins.internal.Hoster import Hoster, create_getInfo class Http(Hoster): |