Add arguments to insert_xml
This commit is contained in:
parent
5ce2672f97
commit
f543598d9f
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue