Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scant3r/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def random_str(num: int) -> str:
geCr15
"""
num = int(num)
return "".join(random.choice(string.ascii_uppercase) for _ in range(num))
return "".join(random.choices(string.ascii_uppercase, k=num))


# Print the request in the console. Arg the request. Return a string. Empty string if no request
Expand Down