install.py

This commit is contained in:
Usman Nasir
2019-12-10 20:33:44 +05:00
parent 2d3ef0a75c
commit 0bc420992b

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]):