Skip to content

Commit

Permalink
Mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lvoloshyn-sekoia authored Jul 23, 2024
1 parent 69681cc commit fe1700c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sekoia_automation/scripts/action_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def get_manifest_by_docker_param(self, prefix: str, docker_param: str) -> dict:
return {}

def get_module_configuration_schema(self) -> dict:
manifest = self.__module_path / "manifest.json"
with open(manifest) as file:
manifest_path = self.__module_path / "manifest.json"
with open(manifest_path) as file:
manifest = json.load(file)

return manifest.get("configuration", {})
Expand Down

0 comments on commit fe1700c

Please sign in to comment.