Skip to content

Commit b75f473

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def listDb():
3333
return(1)
3434
else:
3535
for name, date, hash, key in items:
36-
print("{} {} {} {}".format(name, date, hash, key))
36+
print("Name: {} Date: {} Hash: {} Key: {}".format(name, date, hash, key))
3737

3838
def clearDb():
3939
cursor.execute("DROP TABLE IF EXISTS history")
@@ -48,7 +48,7 @@ def searchDb(identifier):
4848
return(1)
4949
else:
5050
for name, date, hash, key in items:
51-
print("{} {} {} {}".format(name, date, hash, key))
51+
print("Name: {} Date: {} Hash: {} Key: {}".format(name, date, hash, key))
5252

5353
def exportDb(newPath):
5454
try:

0 commit comments

Comments
 (0)