From 0f3c1d75612a42bccffb95291671e701e25e7460 Mon Sep 17 00:00:00 2001 From: Wouter Lagerweij Date: Wed, 16 Nov 2016 14:35:56 +0100 Subject: [PATCH] Fixed absolute paths for input files --- cube2sphere/cube2sphere.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cube2sphere/cube2sphere.py b/cube2sphere/cube2sphere.py index 987a1dc..e37015e 100644 --- a/cube2sphere/cube2sphere.py +++ b/cube2sphere/cube2sphere.py @@ -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: