Fixed a typo in the CSV view code. Still doesn't work for shit but doesn't break the whole thing.

master
Kasownik 2017-01-12 08:13:16 +01:00
parent 0a88340df8
commit bdd86aacf1
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ def admin_csv():
for member in members:
member["cn"] = directory.get_member_fields(g.ldap, member.ldap_username, 'cn')['cn']
active_members = filter(lambda m: m['judgement'] and not m['type'] = 'supporting', members)
active_members = filter(lambda m: m['judgement'] and not m['type'] == 'supporting', members)
return render_template("admin_csv.html",
active_members=active_members)