From 000b11c26cab1d1c6a9ba863b86d73ec370697d4 Mon Sep 17 00:00:00 2001 From: rr- Date: Tue, 13 Nov 2018 16:20:40 +0100 Subject: [PATCH] ui: remove space before % --- pqcli/ui/custom_progress_bar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pqcli/ui/custom_progress_bar.py b/pqcli/ui/custom_progress_bar.py index e125b06..e7ef0df 100644 --- a/pqcli/ui/custom_progress_bar.py +++ b/pqcli/ui/custom_progress_bar.py @@ -77,7 +77,7 @@ class CustomProgressBar(urwid.Widget): def get_text(self) -> str: percent = min(100.0, max(0.0, self.position * 100.0 / self.max_)) - ret = f"{percent:.02f} %" + ret = f"{percent:.02f}%" if self.time_left and self.show_time: ret += f" ({format_timespan(self.time_left)})" return ret