Skip to content

Commit

Permalink
fix : program_description_print function updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Dec 28, 2024
1 parent 5249a75 commit 052304e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nafas/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ def program_description_print(program_name, level, program_data):
"""
cycle = program_data["cycle"]
ratio = program_data["ratio"]
unit = program_data["unit"]
sequence = []
for index, item in enumerate(ratio):
if item != 0:
sequence.append(STEP_MAP[index])
sequence.append("{0}({1})".format(STEP_MAP[index], item))
sequence = ", ".join(sequence)
total_time = time_calc(program_data)
line()
Expand Down

0 comments on commit 052304e

Please sign in to comment.