mmgen-wallet/scripts/script_init.py

4 lines
123 B
Python
Executable file

#!/usr/bin/env python3
import sys
from pathlib import PurePath
sys.path[0] = str(PurePath(*PurePath(__file__).parts[:-2]))