Skip to content

Commit

Permalink
random seed likely not random this tries to fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
SirGankalot committed May 22, 2024
1 parent f984b01 commit 0d6963a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions checker/src/checker_util_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ async def create_user(
public_key: Optional[str] = None,
) -> None:

random.seed(random.SystemRandom().random())
email = "".join(random.choices(string.ascii_letters + string.digits, k=20)) + "@example.com"
firstName = "".join(random.choices(string.ascii_letters + string.digits, k=20))
password1 = "".join(random.choices(string.ascii_letters + string.digits, k=20))
Expand Down

0 comments on commit 0d6963a

Please sign in to comment.