From 94cbce78ebbdf06c2376e7e259950bfcbe31a6ef Mon Sep 17 00:00:00 2001 From: Rob Holland Date: Thu, 13 Feb 2025 17:17:13 +0000 Subject: [PATCH] Remove platform from JSON. --- thirdparty/train_api.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/thirdparty/train_api.py b/thirdparty/train_api.py index a48b1c8..1c40e45 100644 --- a/thirdparty/train_api.py +++ b/thirdparty/train_api.py @@ -110,7 +110,6 @@ class TrainServer(BaseHTTPRequestHandler): "arrival_time": format_datetime( year, month, arr_day, arr_hour, arr_minute ), - "platform": str(random.randint(1, 8)), "price": round(30 + random.random() * 50, 2), } journeys.append(journey) @@ -143,7 +142,6 @@ class TrainServer(BaseHTTPRequestHandler): "arrival_time": format_datetime( year, month, arr_day, arr_hour, arr_minute ), - "platform": str(random.randint(1, 8)), "price": round(30 + random.random() * 50, 2), } journeys.append(journey)