fixed relative import error by adding packages directory to path

This commit is contained in:
Alan Hamlett 2013-09-07 19:04:26 -07:00
parent eae6c51f40
commit 1eb15b3a4d

View file

@ -28,6 +28,7 @@ import time
import traceback import traceback
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) 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 .log import setup_logging
from .project import find_project from .project import find_project
from .packages import argparse from .packages import argparse