From 8461232301b3eb3e44ddcb6cb9ea863e356057c9 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 29 Nov 2018 21:02:09 +0100 Subject: paths --- crop-equirectangular.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crop-equirectangular.py') 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,)) -- cgit v1.2.3-70-g09d2