diff --git a/comicapi/utils.py b/comicapi/utils.py index db511e1..f50053c 100644 --- a/comicapi/utils.py +++ b/comicapi/utils.py @@ -203,7 +203,7 @@ def get_page_name_list(files: list[str]) -> list[str]: page_list = [] for name in files: if ( - os.path.splitext(name)[1].casefold() in [".jpg", ".jpeg", ".png", ".gif", ".webp"] + os.path.splitext(name)[1].casefold() in [".jpg", ".jpeg", ".png", ".gif", ".webp", ".avif"] and os.path.basename(name)[0] != "." ): page_list.append(name)