Update path so the script can be run and import atst

This commit is contained in:
Patrick Smith 2018-10-16 10:17:37 -04:00
parent 9d03c3e856
commit 8bf71f10c7

View File

@ -1,3 +1,10 @@
# Add root project dir to the python path
import os
import sys
parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
sys.path.append(parent_dir)
import ctypes import ctypes
import sqlalchemy import sqlalchemy
from sqlalchemy import or_, event as sqlalchemy_event from sqlalchemy import or_, event as sqlalchemy_event