diff options
Diffstat (limited to 'ogcp')
-rw-r--r-- | ogcp/views.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index 63f57f0..b7552e2 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -1272,7 +1272,6 @@ def action_client_update(): else: ips = parse_elements(request.args.to_dict()) if not validate_elements(ips, max_len=1): - flash(_('Please, select one client'), category='error') return redirect(url_for('scopes')) server = get_server_from_clients(list(ips)) @@ -2983,7 +2982,6 @@ def action_image_delete(): form.ids.data = image_id form.server.data = params['image-server'] if not validate_elements(images, max_len=1): - flash(_('Please select one image to delete'), category='error') return redirect(url_for('images')) return render_template('actions/delete_image.html', form=form, image_name=image_name.split('_', 1)[0], image_id=image_id, |