Skip to content

Commit 7b8565c

Browse files
committed
Fix Python code warning
1 parent 30c9cb5 commit 7b8565c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ def short_numeric_filter(value):
6060
return f"{value / 1000:.1f}K"
6161
elif value < 1000000000:
6262
return f"{value / 1000000:.1f}M"
63-
else:
64-
return f"{value / 1000000000:.1f}B"
63+
return f"{value / 1000000000:.1f}B"
6564

6665

6766
app.jinja_env.filters["short_numeric"] = short_numeric_filter

0 commit comments

Comments
 (0)