Commit 687f23db authored by Jeff MrBE4R's avatar Jeff MrBE4R
Browse files

second commit

parent c39623d7
...@@ -383,7 +383,6 @@ def admin_vm(): ...@@ -383,7 +383,6 @@ def admin_vm():
) )
for row in res: for row in res:
fobj_out.write(str(str(row['token']) + ': ' + str(row['ip']) + ':5901\n')) fobj_out.write(str(str(row['token']) + ': ' + str(row['ip']) + ':5901\n'))
return 'a'
return redirect(url_for('admin_vm')) return redirect(url_for('admin_vm'))
elif request.method == 'GET': elif request.method == 'GET':
return render_template('Admin/View/adminListVMs.html', APP_NAME=config.Config.APP_NAME, APP_VERSION=config.Config.APP_VERSION, vms=get_all_vms()) return render_template('Admin/View/adminListVMs.html', APP_NAME=config.Config.APP_NAME, APP_VERSION=config.Config.APP_VERSION, vms=get_all_vms())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment