Change table to production
This commit is contained in:
parent
850e5d2e6c
commit
531e188fc2
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
|
||||||
try:
|
try:
|
||||||
conn = psycopg2.connect("dbname=hackzurich")
|
conn = psycopg2.connect("dbname=hackzurich")
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
cursor.execute("insert into data_test4 (packet) values (%s)", (data, ))
|
cursor.execute("insert into data (packet) values (%s)", (data, ))
|
||||||
conn.close()
|
conn.close()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("DB Insert failed: %s" % e)
|
print("DB Insert failed: %s" % e)
|
||||||
|
|
Loading…
Add table
Reference in a new issue