From 43a87a1bb676614330a0a0203be785f43420267d Mon Sep 17 00:00:00 2001 From: David Date: Mon, 19 Dec 2022 10:01:25 +0100 Subject: [PATCH] Correction typo --- statistiques/getStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statistiques/getStats.py b/statistiques/getStats.py index a993e47..fab9c8c 100755 --- a/statistiques/getStats.py +++ b/statistiques/getStats.py @@ -50,7 +50,7 @@ class SQLite: def dbInsert(self,ts,k,v): self.__openDb() - self.cursor.execute(f"""INSERT INTO {dbname} (timestamp,key_field,value_field) VALUES ('{ts}','{k}','{v}')""") + self.cursor.execute(f"""INSERT INTO {dbName} (timestamp,key_field,value_field) VALUES ('{ts}','{k}','{v}')""") self.conn.commit() self.__closeDb()