mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
fix import path in test profile generator
This commit is contained in:
1 parent
9d2b374c37
commit
7c1a929e1c
1 file changed
+8
-1
@@ -11,9 +11,16 @@ from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import random
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from bip_utils import Bip39MnemonicGenerator, Bip39WordsNum, Bip39Languages
|
||||
from bip_utils import Bip39Languages, Bip39MnemonicGenerator, Bip39WordsNum
|
||||
|
||||
# Ensure src directory is in sys.path for imports
|
||||
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
||||
SRC_DIR = PROJECT_ROOT / "src"
|
||||
if str(SRC_DIR) not in sys.path:
|
||||
sys.path.insert(0, str(SRC_DIR))
|
||||
|
||||
from constants import APP_DIR
|
||||
from utils.key_derivation import derive_key_from_password, derive_index_key
|
||||
|
||||
Reference in new issue
Block a user