Update path so the script can be run and import atst
This commit is contained in:
parent
9d03c3e856
commit
8bf71f10c7
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user