Use os.path.join for Windows compatibility
This commit is contained in:
parent
6f007d06f2
commit
bfd7c3eaaa
|
@ -23,7 +23,7 @@ from pkg_resources import get_distribution
|
|||
try:
|
||||
import boxes
|
||||
except ImportError:
|
||||
sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/..')
|
||||
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..'))
|
||||
import boxes
|
||||
|
||||
import boxes.generators
|
||||
|
|
Loading…
Reference in New Issue