From 07418481de9cf646427f3d46b7bb7a7ec0fc16b1 Mon Sep 17 00:00:00 2001 From: pk5ls20 Date: Fri, 29 Dec 2023 23:11:00 +0800 Subject: [PATCH] Allow local indexing of gif format images --- scripts/local_indexing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/local_indexing.py b/scripts/local_indexing.py index 4f6853f..343fd1e 100644 --- a/scripts/local_indexing.py +++ b/scripts/local_indexing.py @@ -69,7 +69,7 @@ async def main(args): for item in root.glob('**/*.*'): counter += 1 logger.info("[{}] Indexing {}", str(counter), str(item.relative_to(root))) - if item.suffix in ['.jpg', '.png', '.jpeg', '.jfif', '.webp']: + if item.suffix in ['.jpg', '.png', '.jpeg', '.jfif', '.webp', '.gif']: imgdata = copy_and_index(item) if imgdata is not None: buffer.append(imgdata)