mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-29 15:31:28 +00:00
Removed odd spaces at the end of hash
This commit is contained in:
parent
2f526c7bcd
commit
568add06c6
1
main.py
1
main.py
|
@ -78,6 +78,7 @@ def createUser():
|
||||||
passwordHashProcessDescriptor = subprocess.Popen(hashingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
passwordHashProcessDescriptor = subprocess.Popen(hashingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
hashedPassword = passwordHashProcessDescriptor.communicate()[0]
|
hashedPassword = passwordHashProcessDescriptor.communicate()[0]
|
||||||
hashedPassword = hashedPassword.decode("ascii")
|
hashedPassword = hashedPassword.decode("ascii")
|
||||||
|
hashedPassword = hashedPassword.rstrip()
|
||||||
|
|
||||||
print("[TRACE] {0}".format(hashedPassword))
|
print("[TRACE] {0}".format(hashedPassword))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue