Use os.path.join for Windows compatibility

This commit is contained in:
Florian Festi 2018-08-28 07:32:39 +02:00
parent 6f007d06f2
commit bfd7c3eaaa
1 changed files with 1 additions and 1 deletions

View File

@ -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