diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-28 21:59:08 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-28 21:59:08 +0200 |
commit | f5b69d3190892aa5a16486f0c6f4fd80d18eba11 (patch) | |
tree | 2cec4873deafc2d7e065f95907eb13db1a7b2de1 | |
parent | Fix https://github.com/pyload/pyload/issues/1581 (diff) | |
download | pyload-f5b69d3190892aa5a16486f0c6f4fd80d18eba11.tar.xz |
Fix https://github.com/pyload/pyload/issues/1582
-rw-r--r-- | module/plugins/hooks/ExternalScripts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py index 9c9cd51c6..8e79a49a9 100644 --- a/module/plugins/hooks/ExternalScripts.py +++ b/module/plugins/hooks/ExternalScripts.py @@ -10,7 +10,7 @@ from module.utils import fs_encode, save_join as fs_join class ExternalScripts(Addon): __name__ = "ExternalScripts" __type__ = "hook" - __version__ = "0.43" + __version__ = "0.44" __status__ = "testing" __config__ = [("activated", "bool", "Activated" , True ), @@ -81,7 +81,7 @@ class ExternalScripts(Addon): def call_script(self, script, *args): try: - cmd_args = (fs_encode(x) if isinstande(x, basestring) else str(x) for x in args) #@NOTE: `fs_encode` -> `encode` in 0.4.10 + cmd_args = (fs_encode(x) if isinstance(x, basestring) else str(x) for x in args) #@NOTE: `fs_encode` -> `encode` in 0.4.10 self.log_debug("Executing: %s" % os.path.abspath(script), "Args: " + ' '.join(cmd_args)) |