Skip to content

Commit

Permalink
remove importlib.resource.path from gojig.py:17
Browse files Browse the repository at this point in the history
  • Loading branch information
etzellux committed Nov 30, 2023
1 parent 28f1e70 commit a636ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algojig/gojig.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


def run(command, *args, input=None):
with importlib.resources.path(algojig, binary) as p:
with importlib.resources.files(algojig).joinpath(binary) as p:
output = subprocess.run([p, command, *args], capture_output=True, input=input)
return output

Expand Down

0 comments on commit a636ece

Please sign in to comment.