Removed odd spaces at the end of hash

pull/2/head
Illia Chub 2021-10-12 13:44:06 +03:00
parent 2f526c7bcd
commit 568add06c6
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ def createUser():
passwordHashProcessDescriptor = subprocess.Popen(hashingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
hashedPassword = passwordHashProcessDescriptor.communicate()[0]
hashedPassword = hashedPassword.decode("ascii")
hashedPassword = hashedPassword.rstrip()
print("[TRACE] {0}".format(hashedPassword))