mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Reduce number of symbols to avoid issues
Limit the symbols used in the character string to avoid potential problems with certain characters.
This commit is contained in:
parent
130dc3db02
commit
1e68abac70
@ -370,7 +370,7 @@ class Helpers:
|
|||||||
digits = string.digits
|
digits = string.digits
|
||||||
locase = string.ascii_lowercase
|
locase = string.ascii_lowercase
|
||||||
upcase = string.ascii_uppercase
|
upcase = string.ascii_uppercase
|
||||||
symbols = string.punctuation
|
symbols = "!@#$%^&*" # Reducing to avoid issues with ([]{}<>,'`) etc
|
||||||
|
|
||||||
# Combine all the character strings above to form one string
|
# Combine all the character strings above to form one string
|
||||||
combo = digits + upcase + locase + symbols
|
combo = digits + upcase + locase + symbols
|
||||||
|
Loading…
x
Reference in New Issue
Block a user