Add PYTHONPATH to script environment variables

This commit is contained in:
JonnyWong16 2018-06-29 23:13:20 -07:00
parent d4784dff23
commit 4437a94675
2 changed files with 11 additions and 9 deletions

View file

@ -25,7 +25,7 @@ import os
import sys
# Ensure lib added to path, before any other imports
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'lib/'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib'))
import argparse
import locale