Merge pull request #4 from wouterla/master

Fixed absolute paths for input files
This commit is contained in:
Tudor Brindus 2016-11-18 23:47:00 -05:00 committed by GitHub
commit 5f2b1d93cc

View file

@ -48,7 +48,7 @@ def main():
faces = [_args.front, _args.back, _args.right, _args.left, _args.top, _args.bottom]
for i in range(len(faces)):
face = faces[i]
face = faces if os.path.isabs(face) else os.path.join(os.getcwd(), face)
face = faces[i] if os.path.isabs(face) else os.path.join(os.getcwd(), face)
faces[i] = face
try: