summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ogcp/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index c2a6a17..ac5df38 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -1953,7 +1953,7 @@ def action_mode():
if request.method == 'POST':
ips = form.ips.data.split(' ')
payload = { 'clients': ips, 'mode': form.boot.data }
- print(payload)
+
server = get_server_from_clients(ips)
r = server.post('/mode', payload)
if r.status_code == requests.codes.ok:
@@ -2797,7 +2797,7 @@ def action_repo_delete():
else:
params = request.args.to_dict()
repos = parse_elements(params)
- print(repos)
+
if not validate_elements(repos, max_len=1):
return redirect(url_for('manage_repos'))
repo_id = repos.pop()