fixed relative import error by adding packages directory to path
This commit is contained in:
parent
eae6c51f40
commit
1eb15b3a4d
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ import time
|
|||
import traceback
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages'))
|
||||
from .log import setup_logging
|
||||
from .project import find_project
|
||||
from .packages import argparse
|
||||
|
|
Loading…
Reference in a new issue