From e3a34fe84a1cc8000e613d292ea87fc89491a0c8 Mon Sep 17 00:00:00 2001 From: Robert Einsle Date: Fri, 10 Mar 2017 19:54:15 +0100 Subject: [PATCH] fix error in calculation price --- billard/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/billard/tasks.py b/billard/tasks.py index a8ee1b6..964f07f 100644 --- a/billard/tasks.py +++ b/billard/tasks.py @@ -45,7 +45,7 @@ def process_location_data(): if len(ac) > 0: acc = ac[0] acc.time_to = ld.tst - acc.prize = utils.get_prize_for( + acc.prize, acc.prize_normal, acc.prize_hh = utils.get_prize_for( start=acc.time_from, end=ld.tst, pph=desk.prize,