From 8580c047d372cfa53a54966bdc1d945420c3a635 Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Tue, 12 Oct 2021 13:00:45 +0300 Subject: [PATCH] Fixed class declaration --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index fee7999..7d35ccb 100755 --- a/main.py +++ b/main.py @@ -75,7 +75,7 @@ def createUser(): hashingCommand = ''' mkpasswd -m sha-512 {0} '''.format(rawPassword) - passwordHashProcessDescriptor = subprocess.Popen(hashingCommand, shell=True, stdout=subprocess.PIPE, stderr=STDOUT) + passwordHashProcessDescriptor = subprocess.Popen(hashingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) hashedPassword = passwordHashProcessDescriptor.communicate()[0] hashedPassword = hashedPassword.decode("ascii")