Correction typo

This commit is contained in:
David 2022-12-19 10:01:25 +01:00
parent ef2ae4acdb
commit 43a87a1bb6

View File

@ -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()