Added support for bmp files

version update
This commit is contained in:
Ozzie Isaacs 2022-01-22 11:26:30 +01:00
parent 59e7830f62
commit 7267dac0ae
2 changed files with 3 additions and 3 deletions

View File

@ -999,7 +999,7 @@ class ComicArchive:
self.page_list = []
for name in files:
if (name[-4:].lower() in [
".jpg", "jpeg", ".png", ".gif", "webp"
".jpg", "jpeg", ".png", ".gif", "webp", ".bmp"
] and os.path.basename(name)[0] != "."):
self.page_list.append(name)

View File

@ -1,7 +1,7 @@
from setuptools import setup
setup(
name = 'comicapi',
version = '2.2.0',
version = '2.2.1',
description = 'Comic archive (cbr/cbz/cbt) and metadata utilities. Extracted from the comictagger project.',
author = 'Iris W',
maintainer = "@OzzieIsaacs",
@ -10,7 +10,7 @@ setup(
extras_require = {
'CBR': ['rarfile==2.7']
},
python_requires = '>=2.7.0',
python_requires = '>=3.0.0',
url = 'https://github.com/OzzieIsaacs/comicapi',
classifiers = [
"Programming Language :: Python :: 3",