Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Update from Dev#4

Merged
ElBe-Plaq merged 2 commits into
mainfrom
dev
Mar 20, 2023
Merged

Update from Dev#4
ElBe-Plaq merged 2 commits into
mainfrom
dev

Conversation

@ElBe-Plaq

Copy link
Copy Markdown
Member

No description provided.

@ElBe-Plaq ElBe-Plaq added Enhancement Enhances something already existing. Addition Adds something. labels Mar 20, 2023
@ElBe-Plaq ElBe-Plaq added this to the Release Beta v0.1.0 milestone Mar 20, 2023
@ElBe-Plaq ElBe-Plaq self-assigned this Mar 20, 2023
@ElBe-Plaq ElBe-Plaq merged commit c661311 into main Mar 20, 2023
Comment thread Modules/_core/Random.py
"""

if choices == 1:
return random.choice(iterable)

Check notice

Code scanning / Bandit

Standard pseudo-random generators are not suitable for security/cryptographic purposes.

Standard pseudo-random generators are not suitable for security/cryptographic purposes.
Comment thread Modules/_core/Random.py
if choices == 1:
return random.choice(iterable)
else:
return random.choices(iterable)

Check notice

Code scanning / Bandit

Standard pseudo-random generators are not suitable for security/cryptographic purposes.

Standard pseudo-random generators are not suitable for security/cryptographic purposes.
Comment thread Modules/_core/Random.py
:return: Random number between minimum and maximum.
"""

return random.randint(minimum, maximum)

Check notice

Code scanning / Bandit

Standard pseudo-random generators are not suitable for security/cryptographic purposes.

Standard pseudo-random generators are not suitable for security/cryptographic purposes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Addition Adds something. Enhancement Enhances something already existing.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants