Skip to content

Commit

Permalink
Correct the format on Jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed May 5, 2024
1 parent 3f7b390 commit 6f86ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atpbar/presentation/barjupyter.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _update_widget(self, report: Report) -> None:

percent = float(report["done"]) / report["total"] if report["total"] > 0 else 1
percent = round(percent * 100, 2)
percent_fmt = "<pre>{:6.2f}%</pre>".format(percent)
percent_fmt = "{:6.2f}%".format(percent)

box = self.widget_dict[report["taskid"]][0]

Expand Down

0 comments on commit 6f86ea0

Please sign in to comment.