1
0
mirror of https://github.com/moepman/bk-dss synced 2024-12-22 06:54:26 +01:00

Remove unused variable

This commit is contained in:
Markus 2019-02-25 09:59:37 +01:00
parent 9e0275eef2
commit 251dc90ce8

2
dss.py
View File

@ -148,7 +148,7 @@ def edit():
try:
l.simple_bind_s(creds['user'], creds['pswd'])
l.passwd_s(creds['user'], creds['pswd'], npwd)
except ldap.INVALID_CREDENTIALS as e:
except ldap.INVALID_CREDENTIALS:
form.user.errors.append('Invalid credentials')
l.unbind_s()
return render_template('edit.html', form=form, nav=build_nav())