diff --git a/index.py b/index.py index 662b6c0..be85275 100755 --- a/index.py +++ b/index.py @@ -35,8 +35,7 @@ def check_oldpw(accountname, oldpass): oldhash = m.group(1) hashtype = m.group(2) salt = m.group(3) - except CalledProcessError as e: - print(e) + except CalledProcessError: return False opensslargs = ['openssl', 'passwd', '-' + hashtype, '-salt', salt, oldpass]