Skip to content

Commit 4d8b0a7

Browse files
authored
Merge pull request #15 from Hipo/remove-importlib.resources.path
Remove importlib.resource.path usage
2 parents 28f1e70 + a636ece commit 4d8b0a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algojig/gojig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

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

0 commit comments

Comments
 (0)