From cf57fde485e873c59bfc97522b28ca6be52076c4 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 5 Mar 2021 17:16:12 +0100 Subject: [PATCH] fix --- rowers/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rowers/utils.py b/rowers/utils.py index 74633335..c12d71d5 100644 --- a/rowers/utils.py +++ b/rowers/utils.py @@ -897,6 +897,7 @@ def step_to_string(step): try: valuehigh = step['targetValueHigh'] except KeyError: + valuehigh = 0 if value < 10 and value>0: target = 'Target: Power in zone {v}'.format(v=value)