Skip to content

Commit

Permalink
Update db.py
Browse files Browse the repository at this point in the history
  • Loading branch information
deedeecx330 authored Mar 6, 2021
1 parent f87bf59 commit b75f473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def listDb():
return(1)
else:
for name, date, hash, key in items:
print("{} {} {} {}".format(name, date, hash, key))
print("Name: {} Date: {} Hash: {} Key: {}".format(name, date, hash, key))

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

def exportDb(newPath):
try:
Expand Down

0 comments on commit b75f473

Please sign in to comment.