fix
This commit is contained in:
parent
c594b22368
commit
d8be5a834d
@ -264,8 +264,9 @@ class MangaDownloader:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
class CBZUtils:
|
class CBZUtils:
|
||||||
def __init__(self, cbz_path: Path):
|
def __init__(self, cbz_path: Path = None):
|
||||||
self.cbz_path = cbz_path
|
if not cbz_path is None:
|
||||||
|
self.cbz_path = cbz_path
|
||||||
|
|
||||||
def get_page_count(self):
|
def get_page_count(self):
|
||||||
return self._comic_info_xml_page_count(self.cbz_path)
|
return self._comic_info_xml_page_count(self.cbz_path)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user