From 4527dd364007a907d270af8470a9aa9ab6c26465 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Tue, 19 May 2020 12:27:20 +0200 Subject: [PATCH] Re-adding return --- stitching/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stitching/__init__.py b/stitching/__init__.py index fb40739..0b76374 100644 --- a/stitching/__init__.py +++ b/stitching/__init__.py @@ -91,6 +91,8 @@ def tiles_to_equirectangular_blender(back, right, front, left, top, bottom, if not keep: tmpdir.cleanup() # Delete temporary directory to free space + return outimg + except: os.chdir(pre) print("Something went wrong trying to convert to equirectangular.")