From daef1cd036818c48fe5e7d302740b5abf32caa17 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 3 Apr 2024 16:08:33 +0200 Subject: [PATCH] UI - Remove unique check for URLs entered on the "quick watch add" form ( #2286 #2292 ) --- changedetectionio/flask_app.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index 3515743e..06aa2d69 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -1293,9 +1293,8 @@ def changedetection_app(config=None, datastore_o=None): url = request.form.get('url').strip() if datastore.url_exists(url): - flash('The URL {} already exists'.format(url), "error") - return redirect(url_for('index')) - + flash(f'Warning, URL {url} already exists', "notice") + add_paused = request.form.get('edit_and_watch_submit_button') != None processor = request.form.get('processor', 'text_json_diff') new_uuid = datastore.add_watch(url=url, tag=request.form.get('tags').strip(), extras={'paused': add_paused, 'processor': processor})