I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a0459092 authored by sponge's avatar sponge
Browse files

Remove two messages that won't be seen.

parent ef752083
No related branches found
No related tags found
No related merge requests found
...@@ -36,9 +36,9 @@ import pyodbc ...@@ -36,9 +36,9 @@ import pyodbc
# db format # 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(): ...@@ -52,15 +52,13 @@ def checkdatabase():
try: try:
cur.execute("select * from client") cur.execute("select * from client")
except pyodbc.Error: 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)") cur.execute("create table client (ip string, whn float)")
cnxn.commit() cnxn.commit()
try: try:
cur.execute("select * from entry") cur.execute("select * from entry")
except pyodbc.Error: 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)") cur.execute("create table entry (whn float, wht string)")
cnxn.commit() cnxn.commit()
cnxn.close() cnxn.close()
......
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