From 0a10d95252f19ab14c3142aab0b0c4c08bc107ef Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Wed, 21 Oct 2015 16:08:38 +0200 Subject: [PATCH] Remove debug output --- index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]