From bc5c0977dc5b4087e8f39cc67089bb5709aac04e Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 23 Jun 2021 20:20:50 -0400 Subject: 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 --- python/scriptingprovider.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/scriptingprovider.py') 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] -- cgit v1.3.1