Skip to content

Commit 24336f1

Browse files
committed
let python3 do it instead of bash
`python3` seems to be the right way to call python from both linux and macos.
1 parent 24b4969 commit 24336f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def run_plugins(directory, hook_value: HookValue, namespace, annex: Optional[dic
166166
}
167167

168168
cmd = (
169-
f"{network_file_path.parent / entrypoint_path / Path('plugin.py')} entrypoint "
169+
f"python3 {network_file_path.parent / entrypoint_path / Path('plugin.py')} entrypoint "
170170
f"'{json.dumps(plugin_content)}' '{json.dumps(warnet_content)}'"
171171
)
172172
print(

0 commit comments

Comments
 (0)