From f856a72cf5c988bf3524f9c078e560fd31d40a33 Mon Sep 17 00:00:00 2001 From: Adrian Maraj Date: Tue, 30 Apr 2024 15:44:19 +0200 Subject: [PATCH] chg:capture are private --- website/web/__init__.py | 1 + website/web/templates/simple_capture.html | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/website/web/__init__.py b/website/web/__init__.py index da86226d..35a46b8b 100644 --- a/website/web/__init__.py +++ b/website/web/__init__.py @@ -1644,6 +1644,7 @@ def simple_capture() -> str | Response | WerkzeugResponse: flash('Invalid submission: please submit at least a URL.', 'error') return render_template('simple_capture.html') capture_query: CaptureSettings = {} + capture_query['listing'] = False if request.form.get('auto_report'): path = get_homedir() /'config'/ 'users' / (user + ".json") if os.path.isfile(path): diff --git a/website/web/templates/simple_capture.html b/website/web/templates/simple_capture.html index dbb6d092..e8810ca7 100644 --- a/website/web/templates/simple_capture.html +++ b/website/web/templates/simple_capture.html @@ -33,9 +33,6 @@
- - -