sys.path hack to be a fully compliant py3k library
This commit is contained in:
1 parent
7d39ccc360
commit
6f8d477679
1 file changed
+6
@@ -1,2 +1,8 @@
|
||||
import sys
|
||||
|
||||
# python imports are hell sometimes. Especially the combination of relative
|
||||
# imports and circular imports... Just avoid it:
|
||||
sys.path.insert(0, __path__[0])
|
||||
|
||||
from .api import Script, NotFoundError, set_debug_function
|
||||
from . import settings
|
||||
Reference in new issue
Block a user