Correction typo
This commit is contained in:
parent
2e60a3fa6c
commit
8c7c85192c
@ -7,6 +7,7 @@ import sys
|
|||||||
import requests
|
import requests
|
||||||
import time
|
import time
|
||||||
import datetime
|
import datetime
|
||||||
|
import sqlite3
|
||||||
|
|
||||||
# Constantes
|
# Constantes
|
||||||
api_url = 'http://localhost:8080/colibri/stats'
|
api_url = 'http://localhost:8080/colibri/stats'
|
||||||
@ -21,7 +22,7 @@ class SQLite:
|
|||||||
|
|
||||||
def __initDb(self):
|
def __initDb(self):
|
||||||
self.__openDb()
|
self.__openDb()
|
||||||
cursor.execute(''' create table jististats(
|
self.cursor.execute(''' create table jististats(
|
||||||
id integer primary key autoincrement,
|
id integer primary key autoincrement,
|
||||||
timestamp text,
|
timestamp text,
|
||||||
key_field text,
|
key_field text,
|
||||||
|
Loading…
Reference in New Issue
Block a user