install.py

This commit is contained in:
Usman Nasir
2019-12-10 20:33:44 +05:00
parent a3478e933c
commit 5a6c161e21

View File

@@ -28,7 +28,7 @@ def generate_pass(length=14):
password = []
while len(password) < length:
key = choice(list(char_set.keys()))
key = choice(char_set.keys())
a_char = urandom(1)
if a_char in char_set[key]:
if check_prev_char(password, char_set[key]):