From 96459ea32e9e2971993060484035322b6b61bbc2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 2 Dec 2024 11:30:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=82=D0=B0=D1=82=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D0=B8=D0=BA=D0=B8=20(=D0=B2=D1=8B/=D0=B2)=D0=B2=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0=20=D0=B0=D0=BB=D0=BC=D0=B0=D0=B7=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')