Skip to content
Snippets Groups Projects
Commit 4ae81bcb authored by francoisdillinger's avatar francoisdillinger
Browse files

Now pulling from total_cost_watts_water table

parent fade031c
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ def get_costData(): ...@@ -12,7 +12,7 @@ def get_costData():
def get_data(): def get_data():
conn = get_db_connection() conn = get_db_connection()
cur = conn.cursor() cur = conn.cursor()
cur.execute('SELECT * FROM total_cost_watts;') cur.execute('SELECT * FROM total_cost_watts_water;')
all_costData = cur.fetchall() all_costData = cur.fetchall()
cur.close() cur.close()
return all_costData return all_costData
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment