stuff
This commit is contained in:
parent
06f14ee59a
commit
85ff0d93b6
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ def password(inp, notice=None):
|
|||
|
||||
# find the length needed for the password
|
||||
numb = inp.split(" ")
|
||||
|
||||
|
||||
try:
|
||||
length = int(numb[0])
|
||||
except ValueError:
|
||||
|
@ -38,7 +38,7 @@ def password(inp, notice=None):
|
|||
okay = okay + list(string.ascii_lowercase)
|
||||
|
||||
password = ""
|
||||
|
||||
|
||||
# generates password
|
||||
for x in range(length):
|
||||
password = password + random.choice(okay)
|
||||
|
|
Reference in a new issue