summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crop-equirectangular.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crop-equirectangular.py b/crop-equirectangular.py
index 11c4575..ff1ce19 100644
--- a/crop-equirectangular.py
+++ b/crop-equirectangular.py
@@ -44,7 +44,7 @@ path_0 = os.path.join("sequences", opt.label + "_a")
path_1 = os.path.join("sequences", opt.label + "_b")
path_2 = os.path.join("sequences", opt.label + "_c")
-for i, fn in enumerate(glob(os.path.join(opt.folder, '*.png'))):
+for i, fn in enumerate(glob.glob(os.path.join(opt.folder, '*.png'))):
fn = "frame_{:04d}.png".format(i)
canvas = Image.new('RGB', (src_width, src_height * 3/2,))