Skip to content

Commit

Permalink
Stop calling random.randint with non-integer arguments
Browse files Browse the repository at this point in the history
This has been deprecated since Python 3.10 and will be
removed in a subsequent version.
  • Loading branch information
ahumeau committed Dec 28, 2021
1 parent 5c58e2a commit 121701d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asks/request_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from .multipart import build_multipart_body


_BOUNDARY = "8banana133744910kmmr13a56!102!" + str(randint(1e3, 9e3))
_BOUNDARY = "8banana133744910kmmr13a56!102!" + str(randint(10 ** 3, 10 ** 9))
_WWX_MATCH = re.compile(r"\Aww.\.")


Expand Down

0 comments on commit 121701d

Please # to comment.