summaryrefslogtreecommitdiff
path: root/python/scriptingprovider.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-06-23 20:20:50 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-05 10:09:09 -0400
commitbc5c0977dc5b4087e8f39cc67089bb5709aac04e (patch)
tree2e955215d9a9000a84412f814d011248f6bdbe5d /python/scriptingprovider.py
parent421b398453d09e06e7b202229e34b66414683a45 (diff)
type hints for highlevelil.py, mediumlevelil.py and lowlevelil.py, workflow.py
Fix linter error in scriptingprovider.py Update workflow.py using updated paradigms and type hints
Diffstat (limited to 'python/scriptingprovider.py')
-rw-r--r--python/scriptingprovider.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/scriptingprovider.py b/python/scriptingprovider.py
index b1012c42..d3b2c23c 100644
--- a/python/scriptingprovider.py
+++ b/python/scriptingprovider.py
@@ -806,10 +806,10 @@ class PythonScriptingProvider(ScriptingProvider):
python_bin, status = self._get_executable_for_libpython(python_lib, python_bin_override)
return python_bin
- def _load_module(self, ctx, repo_path, module, force):
+ def _load_module(self, ctx, _repo_path:bytes, _module:bytes, force:bool):
+ repo_path = _repo_path.decode("utf-8")
+ module = _module.decode("utf-8")
try:
- repo_path = repo_path.decode("utf-8")
- module = module.decode("utf-8")
repo = RepositoryManager()[repo_path]
plugin = repo[module]