Skip to content

Commit

Permalink
rename methods for git history
Browse files Browse the repository at this point in the history
  • Loading branch information
getBoolean committed Mar 26, 2024
1 parent 4ab92c0 commit 55b912e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jln2kavita.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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:
"""
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 55b912e

Please sign in to comment.