From 5e9101242b6239b8bd885bf181cac326bb1c6959 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 29 May 2019 16:27:22 -0400 Subject: [PATCH] float --- sopel_modules/SpiceBot/Database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/Database.py b/sopel_modules/SpiceBot/Database.py index 022f34f..f86fab6 100644 --- a/sopel_modules/SpiceBot/Database.py +++ b/sopel_modules/SpiceBot/Database.py @@ -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: