mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Fix black finding
This commit is contained in:
parent
7045118cd2
commit
fb4adfb22e
@ -363,6 +363,7 @@ class Helpers:
|
|||||||
|
|
||||||
return result_of_check == 0
|
return result_of_check == 0
|
||||||
|
|
||||||
|
|
||||||
class PasswordGenerator:
|
class PasswordGenerator:
|
||||||
def create_pass(self):
|
def create_pass(self):
|
||||||
# Maximum length of password needed
|
# Maximum length of password needed
|
||||||
@ -395,7 +396,7 @@ class PasswordGenerator:
|
|||||||
secrets.SystemRandom().shuffle(temp_pass_list)
|
secrets.SystemRandom().shuffle(temp_pass_list)
|
||||||
|
|
||||||
# Form the password by concatenating the characters
|
# Form the password by concatenating the characters
|
||||||
password = ''.join(temp_pass_list)
|
password = "".join(temp_pass_list)
|
||||||
|
|
||||||
# Return completed password
|
# Return completed password
|
||||||
return password
|
return password
|
||||||
|
Loading…
x
Reference in New Issue
Block a user