diff --git a/api.py b/api.py index e470064..fb30646 100644 --- a/api.py +++ b/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')