From 4d44cd267f4a965214ed91a7a021ff93494e6912 Mon Sep 17 00:00:00 2001 From: pluja Date: Sat, 10 Oct 2020 22:34:56 +0200 Subject: [PATCH] Replace hardcoded boolean Forgot it while testing :D --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 2db22a8..9900aac 100644 --- a/app/routes.py +++ b/app/routes.py @@ -754,7 +754,7 @@ def status(): filen = url_for('static', filename='img/open.png') caniregister = True - return render_template('status.html', title='STATUS', count=count, max=config['maxInstanceUsers'], file=filen, cani=False) + return render_template('status.html', title='STATUS', count=count, max=config['maxInstanceUsers'], file=filen, cani=caniregister) @app.route('/error/') def error(errno):