Remove two messages that won't be seen.

This commit is contained in:
sponge
2012-09-14 02:54:36 +00:00
parent ef75208357
commit a04590920e

View File

@@ -36,9 +36,9 @@ import pyodbc
# db format
#
# table client ipaddress, time of access, file list index
# table client ipaddress, time of access
#
# table html index, time of creation, html
# table html index, time of creation
#
@@ -52,15 +52,13 @@ def checkdatabase():
try:
cur.execute("select * from client")
except pyodbc.Error:
#cur.execute("create table peer (ip string, time string, index string)")
print ("Creating new table 'client'")
#print ("Creating new table 'client'")
cur.execute("create table client (ip string, whn float)")
cnxn.commit()
try:
cur.execute("select * from entry")
except pyodbc.Error:
#cur.execute("create table peer (ip string, time string, index string)")
print ("Creating new table 'entry'")
#print ("Creating new table 'entry'")
cur.execute("create table entry (whn float, wht string)")
cnxn.commit()
cnxn.close()