Merge pull request #466 from Websoft9/chendelin1982-patch-1
Update password_generator.py
This commit is contained in:
commit
d4e95b42c6
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ class PasswordGenerator:
|
|||
lowercase_letters = string.ascii_lowercase # all lowercase letters
|
||||
uppercase_letters = string.ascii_uppercase # all uppercase letters
|
||||
digits = string.digits # all digits
|
||||
special_symbols = "!@#$" # all special symbols
|
||||
special_symbols = "!#" # all special symbols
|
||||
|
||||
# get 4 random characters from each category
|
||||
password = [
|
||||
|
@ -79,4 +79,4 @@ class PasswordGenerator:
|
|||
random.shuffle(password_list)
|
||||
|
||||
# Convert list to string
|
||||
return ''.join(password_list)
|
||||
return ''.join(password_list)
|
||||
|
|
Loading…
Add table
Reference in a new issue