From 41ea343be28b2daf9a2f7d429b2c2243c868256e Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 23 May 2023 13:28:14 +0200 Subject: [PATCH] another fix --- src/preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preprocess.py b/src/preprocess.py index 91d71ef..f09e25e 100644 --- a/src/preprocess.py +++ b/src/preprocess.py @@ -79,7 +79,7 @@ class DbOp(object): with conn.cursor() as cur: cur.execute(""" insert into measurement_t (time, application, variable, value, unit) - values (now(), %(application)s, %(variable)s, %(value)s, %(unit)s + values (now(), %(application)s, %(variable)s, %(value)s, %(unit)s) """, { 'application': measurement['application'],