Added support for bmp files
version update
This commit is contained in:
parent
59e7830f62
commit
7267dac0ae
@ -999,7 +999,7 @@ class ComicArchive:
|
|||||||
self.page_list = []
|
self.page_list = []
|
||||||
for name in files:
|
for name in files:
|
||||||
if (name[-4:].lower() in [
|
if (name[-4:].lower() in [
|
||||||
".jpg", "jpeg", ".png", ".gif", "webp"
|
".jpg", "jpeg", ".png", ".gif", "webp", ".bmp"
|
||||||
] and os.path.basename(name)[0] != "."):
|
] and os.path.basename(name)[0] != "."):
|
||||||
self.page_list.append(name)
|
self.page_list.append(name)
|
||||||
|
|
||||||
|
4
setup.py
4
setup.py
@ -1,7 +1,7 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
setup(
|
setup(
|
||||||
name = 'comicapi',
|
name = 'comicapi',
|
||||||
version = '2.2.0',
|
version = '2.2.1',
|
||||||
description = 'Comic archive (cbr/cbz/cbt) and metadata utilities. Extracted from the comictagger project.',
|
description = 'Comic archive (cbr/cbz/cbt) and metadata utilities. Extracted from the comictagger project.',
|
||||||
author = 'Iris W',
|
author = 'Iris W',
|
||||||
maintainer = "@OzzieIsaacs",
|
maintainer = "@OzzieIsaacs",
|
||||||
@ -10,7 +10,7 @@ setup(
|
|||||||
extras_require = {
|
extras_require = {
|
||||||
'CBR': ['rarfile==2.7']
|
'CBR': ['rarfile==2.7']
|
||||||
},
|
},
|
||||||
python_requires = '>=2.7.0',
|
python_requires = '>=3.0.0',
|
||||||
url = 'https://github.com/OzzieIsaacs/comicapi',
|
url = 'https://github.com/OzzieIsaacs/comicapi',
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user