From ad1aa57c003d56f3ff70bed947ff9b5f85cd7c59 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 9 Apr 2026 15:40:15 +0100 Subject: [PATCH] Adjust default connection time. --- app.py | 8 ++++---- templates/index.html | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app.py b/app.py index a4e76df..2de615c 100644 --- a/app.py +++ b/app.py @@ -124,15 +124,15 @@ def results(station_crs, slug, travel_date): try: min_connection = int(request.args.get("min_connection", 50)) except ValueError: - min_connection = 50 + min_connection = 70 if min_connection not in VALID_MIN_CONNECTIONS: - min_connection = 50 + min_connection = 70 try: max_connection = int(request.args.get("max_connection", 110)) except ValueError: - max_connection = 110 + max_connection = 150 if max_connection not in VALID_MAX_CONNECTIONS: - max_connection = 110 + max_connection = 150 user_agent = request.headers.get("User-Agent", rtt_scraper.DEFAULT_UA) diff --git a/templates/index.html b/templates/index.html index 8314e52..57a9afc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -49,7 +49,7 @@ @@ -60,7 +60,7 @@