crypt vs crypt.crypt

This commit is contained in:
Jay Lee
2020-02-07 13:08:01 -05:00
parent a00c20296e
commit f644727e1c

View File

@@ -1522,7 +1522,7 @@ def gen_sha512_hash(password):
if platform.system() == 'Windows':
return sha512_crypt.hash(password, rounds=5000)
else:
return crypt.crypt(password)
return crypt(password)
def printShowDelegates(users, csvFormat):
if csvFormat: