diff --git a/verse/start.py b/verse/start.py index fe349a9..1edc671 100644 --- a/verse/start.py +++ b/verse/start.py @@ -62,7 +62,7 @@ def index(): distribusies = {} for distribusi in distribusis: user = User.query.filter_by(id=distribusi.userid).first() - distribusies.update({user.email: distribusi.distribusiname}) + distribusies[distribusi.distribusiname] = user.email return render_template("index.html", distribusies=distribusies) diff --git a/verse/templates/index.html b/verse/templates/index.html index ce73c11..8015254 100644 --- a/verse/templates/index.html +++ b/verse/templates/index.html @@ -44,7 +44,7 @@

List of distribusis