mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
float
This commit is contained in:
parent
621fb498c5
commit
5e9101242b
@ -158,7 +158,7 @@ class SpiceDB(object):
|
||||
.one_or_none()
|
||||
# ChannelValue exists, update
|
||||
if result:
|
||||
result.value = result.value + float(value)
|
||||
result.value = float(result.value) + float(value)
|
||||
session.commit()
|
||||
# DNE - Insert
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user