From 9d3978258d21b5f697abfffccfe1ceca9d45d883 Mon Sep 17 00:00:00 2001 From: crunk Date: Sun, 13 Feb 2022 22:32:48 +0100 Subject: [PATCH] a small fix done of many to do --- verse/start.py | 2 +- verse/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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