From fbfd0c6875b20c8e5e0c666a2dba43a8abf37387 Mon Sep 17 00:00:00 2001 From: Smanar Date: Sat, 6 Apr 2019 20:21:19 +0200 Subject: [PATCH] Update fonctions.py --- fonctions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fonctions.py b/fonctions.py index de14b83..8e2b156 100644 --- a/fonctions.py +++ b/fonctions.py @@ -432,8 +432,8 @@ def ReturnUpdateValue(command,val,model = None): if buffercommand.get('power'): p = buffercommand['power'] buffercommand.clear() - kwarg['nValue'] = 0 - kwarg['sValue'] = str(p) + ';' + str(kwh) + kwarg['nValue'] = 0 + kwarg['sValue'] = str(p) + ';' + str(kwh) if command == 'power': buffercommand['power'] = val