Skip to content

Commit

Permalink
ignore decoding errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hannob committed Jul 25, 2024
1 parent b499685 commit 523c326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyfinder
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kfilters = [no_filter]


def findkeys(data):
pkeys = rex.findall(data.decode())
pkeys = rex.findall(data.decode(errors="ignore"))
ckeys = []
for pkey in pkeys:
for kfilter in kfilters:
Expand Down

0 comments on commit 523c326

Please sign in to comment.