Skip to content

Commit

Permalink
bitcoin2john.py logging.error() update for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
solardiz committed Jun 17, 2020
1 parent bde2d20 commit 3e03248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/bitcoin2john.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def open_wallet(walletfile):
try:
r = db.open(walletfile, "main", DB_BTREE, flags)
except DBError as e:
logging.error("{0}:{1}".format(e[0], e[1]))
logging.error(e)
r = True

if r is not None:
Expand Down

0 comments on commit 3e03248

Please sign in to comment.