Skip to content

Commit f87bf59

Browse files
authored
Update db.py
1 parent b7d2f8d commit f87bf59

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

db.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ def listDb():
3232
if len(items) == 0:
3333
return(1)
3434
else:
35-
print("Name Date Hash Key")
3635
for name, date, hash, key in items:
3736
print("{} {} {} {}".format(name, date, hash, key))
38-
print()
3937

4038
def clearDb():
4139
cursor.execute("DROP TABLE IF EXISTS history")
@@ -49,10 +47,8 @@ def searchDb(identifier):
4947
if len(items) == 0:
5048
return(1)
5149
else:
52-
print("Name Date Hash Key")
5350
for name, date, hash, key in items:
5451
print("{} {} {} {}".format(name, date, hash, key))
55-
print()
5652

5753
def exportDb(newPath):
5854
try:

0 commit comments

Comments
 (0)