Skip to content

Commit

Permalink
please pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonhc committed Jul 28, 2023
1 parent e99165a commit a653888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpdf/encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def compute_hash(
else:
k = hashlib.sha512(e).digest()
# Step (e)
if round_number >= 64 and e[-1] <= round - 32:
if round_number >= 64 and e[-1] <= round_number - 32:
break

return k[:32]
Expand Down

0 comments on commit a653888

Please sign in to comment.