From 7b8565c47b68d96adb205f68d6125d4e41da587c Mon Sep 17 00:00:00 2001 From: lulunac27a <100660343+lulunac27a@users.noreply.github.com> Date: Sat, 12 Oct 2024 20:58:10 -0500 Subject: [PATCH] Fix Python code warning --- app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.py b/app.py index c5c167c..19aa36c 100644 --- a/app.py +++ b/app.py @@ -60,8 +60,7 @@ def short_numeric_filter(value): return f"{value / 1000:.1f}K" elif value < 1000000000: return f"{value / 1000000:.1f}M" - else: - return f"{value / 1000000000:.1f}B" + return f"{value / 1000000000:.1f}B" app.jinja_env.filters["short_numeric"] = short_numeric_filter