Исправление статистики (вы/в)вода алмазов
This commit is contained in:
parent
f76d59ccea
commit
96459ea32e
2
api.py
2
api.py
@ -68,7 +68,7 @@ def stat_run(cdm_change):
|
||||
stats['gbal_delta'] = round(gbal-gbal_y, 3)
|
||||
stats['min'] = round(min([x for x in bals if x != 0]), 3)
|
||||
stats['max'] = round(max(bals), 3)
|
||||
stats['up_diamond'] = round(gbal - (gbal_y + time2cdm), 3)
|
||||
stats['up_diamond'] = round(gbal - (gbal_y + time2cdm))
|
||||
|
||||
stat[date] = stats
|
||||
write(stat, 'stat.json')
|
||||
|
Loading…
Reference in New Issue
Block a user