views: remove debug messages with payload info

Remove print statements in views.py to reduce logging noise.
master
Alejandro Sirgo Rica 2024-07-01 09:28:04 +02:00
parent 31d6065a85
commit dbc610c40a
1 changed files with 2 additions and 2 deletions

View File

@ -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()