forked from mirrors/cbz
Linking content check
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ class PageInfo(PageModel):
|
|||||||
path = Path(path)
|
path = Path(path)
|
||||||
with path.open(mode='rb') as f:
|
with path.open(mode='rb') as f:
|
||||||
kwargs.setdefault('name', path.name)
|
kwargs.setdefault('name', path.name)
|
||||||
return cls(f.read(), **kwargs)
|
return cls.loads(f.read(), **kwargs)
|
||||||
|
|
||||||
def show(self) -> None:
|
def show(self) -> None:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user