__init__.py
: Remove print messages
This commit is contained in:
parent
4f89688391
commit
7f3b38b92c
@ -43,7 +43,6 @@ 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("\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 +51,6 @@ 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("\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