Skip to content

Commit

Permalink
Allow local indexing of gif format images
Browse files Browse the repository at this point in the history
  • Loading branch information
pk5ls20 committed Dec 29, 2023
1 parent 6c7a433 commit 0741848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/local_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0741848

Please sign in to comment.