Skip to content

Commit

Permalink
Set default progress text
Browse files Browse the repository at this point in the history
  • Loading branch information
Silarn committed Mar 16, 2024
1 parent c0d81ca commit a8a3370
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ def journal_update(event: tk.Event) -> None:
"""

finished, total = ExploData.explo_data.journal_parse.get_progress()
progress = '0%'
if total > 0:
progress = f'{finished / total:.1%}'
progress = progress.rstrip('0').rstrip('.')
Expand Down

0 comments on commit a8a3370

Please sign in to comment.