Correction typo
This commit is contained in:
parent
ef2ae4acdb
commit
43a87a1bb6
@ -50,7 +50,7 @@ class SQLite:
|
|||||||
|
|
||||||
def dbInsert(self,ts,k,v):
|
def dbInsert(self,ts,k,v):
|
||||||
self.__openDb()
|
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.conn.commit()
|
||||||
self.__closeDb()
|
self.__closeDb()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user