path change

This commit is contained in:
Yostra 2020-05-25 15:22:20 -07:00 committed by wjblanke
parent 91f72c6c8e
commit 2b761db470
5 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ full_node = Analysis([f"{root}/src/server/start_full_node.py"],
wallet = Analysis([f"{root}/src/wallet/websocket_server.py"],
pathex=[f"{root}/venv/lib/python3.7/site-packages/aiter/", f"{root}"],
binaries = [],
datas=[(f"{root}/src/util/bip39/english.txt", f"./src/util/bip39/"), version_data ],
datas=[(f"../src/util/english.txt", f"./src/util/"), version_data ],
hiddenimports=subcommand_modules,
hookspath=[],
runtime_hooks=[],

View File

@ -80,7 +80,7 @@ full_node = Analysis([f"{root}/src/server/start_full_node.py"],
wallet = Analysis([f"{root}/src/wallet/websocket_server.py"],
pathex=[f"{root}/venv/lib/python3.7/site-packages/aiter/", f"{root}"],
binaries = [],
datas=[(f"{root}/src/util/bip39/english.txt", f"./src/util/bip39/"), version_data ],
datas=[(f"../src/util/english.txt", f"./src/bip39/"), version_data ],
hiddenimports=subcommand_modules,
hookspath=[],
runtime_hooks=[],

View File

@ -27,7 +27,7 @@ else:
def bip39_word_list() -> str:
return pkg_resources.resource_string("src.util.bip39", "english.txt").decode()
return pkg_resources.resource_string(__name__, "english.txt").decode()
def generate_mnemonic() -> List[str]: