diff --git a/ogcp/views.py b/ogcp/views.py index 77e43f9..e3f1626 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -1090,10 +1090,10 @@ def action_folder_add(): room = params.get('scope-room') center = params.get('scope-center') if room and center: - flash(_('Please, select either a room or a center'), category='error') + flash(('Please, select either a room or a center'), category='error') return redirect(url_for('scopes')) if not room and not center: - flash(_('Please, select a room or a center'), category='error') + flash(('Please, select a room or a center'), category='error') return redirect(url_for('scopes')) if params.get('folder'): flash(('Error: A folder has been selected. Please, select a room or a center'), category='error')