diff --git a/writer.py b/writer.py index 7d2a3c8..dae8259 100644 --- a/writer.py +++ b/writer.py @@ -33,7 +33,7 @@ def insert_data(conn, data): # insert a new vendor into the vendors table sql = """ INSERT INTO - air(datetime, temperature, humidity, location) + dht22(datetime, temperature, humidity, location) VALUES (%s, %s, %s, %s) """