diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-03-12 18:48:17 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-03-12 18:48:17 +0100 |
commit | 51d8b1301653856a866053b2ec3d39dd3d782e3f (patch) | |
tree | 5f19d5dd5cf8194a59015a3d57df8edd10af6698 /src/jwebmail/view.py | |
parent | d70dc2ad3094d865de7b0482ebefce3828441c89 (diff) |
version bump and formating
Diffstat (limited to 'src/jwebmail/view.py')
-rw-r--r-- | src/jwebmail/view.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jwebmail/view.py b/src/jwebmail/view.py index 7983c81..d435686 100644 --- a/src/jwebmail/view.py +++ b/src/jwebmail/view.py @@ -17,7 +17,7 @@ def print_sizes10(var): "PByte", ] - return Markup("{} {}".format(round(var / (10**expo)), PREFIX[i])) + return Markup(f"{round(var / (10**expo))} {PREFIX[i]}") def print_sizes2(var): @@ -33,7 +33,7 @@ def print_sizes2(var): "PiByte", ] - return Markup("{} {}".format(round(var / (2**expo)), PREFIX[i])) + return Markup(f"{round(var / (2**expo))} {PREFIX[i]}") def parse_iso_date(inp): |