Add arguments to insert_xml

This commit is contained in:
Nico Schottelius 2016-09-16 17:44:05 +02:00
parent 5ce2672f97
commit f543598d9f
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
# And insert into the db
self.insert_xml(post_data)
def insert_xml():
def insert_xml(self, data):
try:
conn = psycopg2.connect("dbname=hackzurich")
except Exception as e: