1
0
mirror of synced 2024-11-24 05:30:11 +01:00

__init__.py: Fix typo

This commit is contained in:
Viv 2024-02-10 13:35:25 -05:00
parent 25e6d6f4d4
commit 4f89688391

View File

@ -43,7 +43,7 @@ def main(argv: Sequence[str] = ()) -> None:
base_name = os.path.splitext(fname)[0] base_name = os.path.splitext(fname)[0]
if fname.endswith(".tja"): if fname.endswith(".tja"):
print("Converitng TJA to fumen files...") print("\nConverting TJA to fumen files...")
# Parse lines in TJA file # Parse lines in TJA file
parsed_tja = parse_tja(fname) parsed_tja = parse_tja(fname)
@ -52,7 +52,7 @@ def main(argv: Sequence[str] = ()) -> None:
convert_and_write(course, course_name, base_name, convert_and_write(course, course_name, base_name,
single_course=len(parsed_tja.courses) == 1) single_course=len(parsed_tja.courses) == 1)
elif fname.endswith(".bin"): elif fname.endswith(".bin"):
print("Repairing existing fumen file...") print("\nRepairing existing fumen file...")
repair_bin(fname) repair_bin(fname)
else: else:
raise ValueError(f"Unexpected file extension: {fname}") raise ValueError(f"Unexpected file extension: {fname}")