__init__.py
: Fix typo
This commit is contained in:
parent
25e6d6f4d4
commit
4f89688391
@ -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}")
|
||||||
|
Loading…
Reference in New Issue
Block a user