mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
Add delta to stats
This commit is contained in:
parent
85beb774c7
commit
5cfeb4c3f2
1 changed files with 1 additions and 1 deletions
2
cron.py
2
cron.py
|
@ -237,7 +237,7 @@ def increase_percent(old, new) -> str:
|
||||||
return "N/A"
|
return "N/A"
|
||||||
|
|
||||||
increase = (new - old) / old * 100
|
increase = (new - old) / old * 100
|
||||||
return f"{increase:.1f}%"
|
return f"{increase:.1f}%. Delta: {new-old}"
|
||||||
|
|
||||||
|
|
||||||
def stats():
|
def stats():
|
||||||
|
|
Loading…
Reference in a new issue