From 55b912ecbff10ba6007f7b4f583cd1487902afc8 Mon Sep 17 00:00:00 2001 From: getBoolean <19920697+getBoolean@users.noreply.github.com> Date: Mon, 25 Mar 2024 21:57:40 -0500 Subject: [PATCH] rename methods for git history --- jln2kavita.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jln2kavita.py b/jln2kavita.py index 9f3a279..0eddd49 100644 --- a/jln2kavita.py +++ b/jln2kavita.py @@ -262,7 +262,7 @@ def extract_volume_number(filename: str) -> str | None: # ************************************************************ # -def copy_and_convert_ebook_file( +def copy_ebook_file( pbar: tqdm, folder_index: int, classification: str | None, @@ -482,7 +482,7 @@ def convert_classification_to_plural(classification: str) -> str: return classification -def copy_and_convert_ebook_files( +def copy_ebook_files( src_dir: str, target_dir: str, dont_split_on_page_breaks: bool ) -> None: """ @@ -537,7 +537,7 @@ def copy_and_convert_ebook_files( pbar.update(1) continue - copy_and_convert_ebook_file( + copy_ebook_file( pbar, index, classification, @@ -593,7 +593,7 @@ def main() -> None: os.makedirs(args.target) try: - copy_and_convert_ebook_files( + copy_ebook_files( args.src, args.target, args.dont_split_on_page_breaks ) except argparse.ArgumentTypeError as error: