Skip to content

Commit

Permalink
Fix Python code warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lulunac27a committed Oct 13, 2024
1 parent 30c9cb5 commit 7b8565c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b8565c

Please sign in to comment.