Skip to content

Commit

Permalink
adds search dir to load_clvm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wbendick authored and hoffmang9 committed Feb 4, 2021
1 parent a9c3659 commit 659b750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/puzzles/load_clvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def load_clvm(clvm_filename, package_or_requirement=__name__) -> Program:
if pkg_resources.resource_exists(package_or_requirement, clvm_filename):
full_path = pathlib.Path(pkg_resources.resource_filename(package_or_requirement, clvm_filename))
output = full_path.parent / hex_filename
compile_clvm(full_path, output)
compile_clvm(full_path, output, search_paths=[full_path.parent])
except NotImplementedError:
# pyinstaller doesn't support `pkg_resources.resource_exists`
# so we just fall through to loading the hex clvm
Expand Down

0 comments on commit 659b750

Please sign in to comment.