mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
Running black on code
This commit is contained in:
parent
7a312f1f79
commit
0d95333bab
9 changed files with 196 additions and 169 deletions
|
|
@ -2,8 +2,7 @@ import random
|
|||
|
||||
|
||||
def gen_password(
|
||||
length,
|
||||
charset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*'
|
||||
length, charset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*'
|
||||
):
|
||||
# use secrets module once this works in python 3.6
|
||||
return ''.join(random.choice(charset) for x in range(length))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue