From 45a088f4856a3c63af199764875e1528bb68272d Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Thu, 15 Jan 2015 13:56:50 +0700 Subject: [PATCH] xx --- netforce_clinic/models/hd_case.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netforce_clinic/models/hd_case.py b/netforce_clinic/models/hd_case.py index 817c1db..450195b 100644 --- a/netforce_clinic/models/hd_case.py +++ b/netforce_clinic/models/hd_case.py @@ -607,7 +607,7 @@ class HDCase(Model): dlz=dlz_line.dialyzer_id use_time=dlz_line.use_time or 0 if is_decrease: - use_time-=use_time + use_time-=1 print("decrease ok") print("use_time ", use_time) if dlz_line.use_time < dlz.max_use_time: