From 6847e7f281354ac4898871423c31688bce11ec82 Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Thu, 18 Jul 2024 00:11:23 +0200 Subject: [PATCH] Added pdf support --- cbz/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbz/__main__.py b/cbz/__main__.py index b96792e..51758a8 100644 --- a/cbz/__main__.py +++ b/cbz/__main__.py @@ -19,7 +19,7 @@ def main() -> None: # Create ComicInfo object from CBZ file try: - comic_info = ComicInfo.from_cbz(path=comic_path) + comic_info = ComicInfo.from_pdf(comic_path) if comic_path.suffix == '.pdf' else ComicInfo.from_cbz(comic_path) # Launch the CBZ player comic_info.show() except Exception as e: