Skip to content

Commit

Permalink
Merge pull request #12 from adafruit/dherrada-patch-1
Browse files Browse the repository at this point in the history
Changed 1 character. Should fix stuff
  • Loading branch information
brentru authored Aug 7, 2020
2 parents eedba1e + 45ca3ac commit f00490d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_rsa/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def int2bytes(number, fill_size=None, chunk_size=None, overflow=False):
raise ValueError("You can either fill or pad chunks, but not both")

# Ensure these are integers.
assert number & 1 == 0, "Number must be an unsigned integer, not a float."
assert isinstance(number, int), "Number must be an unsigned integer, not a float."

raw_bytes = b""

Expand Down

0 comments on commit f00490d

Please sign in to comment.