diff --git a/app.py b/app.py index aef0521..741e8cf 100644 --- a/app.py +++ b/app.py @@ -24,7 +24,7 @@ def main(): if db.get_user_bytoken(auth_token) is None: return redirect("/login") machines_all = db.get_machines() - return render_template('index.html', ssh_port=config.webssh_port, machines=machines_all) + return render_template('index.html', ssh_port=config.webssh_port, machines=machines_all.machines) @app.route('/login')