From d0f949e7fdbc916b1725d6e8c87a6bf7df081639 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Fri, 01 Feb 2019 01:13:27 +0000
Subject: [PATCH] Do not download GTFS_KRK_A.zip anymore

---
 parse.php |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/parse.php b/parse.php
index afa57b0..db486e2 100644
--- a/parse.php
+++ b/parse.php
@@ -118,9 +118,10 @@
 				$data = numToTypeB($gtfsTrip['id']);
 				$num = $gtfsTrip['num'];
 				if($data['num'] != $num) {
-					fwrite(STDERR, 'Got '.$num.', database has '.$data['num']."\n");
+					// Ignore due to incorrect depot markings in the data
+					//fwrite(STDERR, 'Got '.$num.', database has '.$data['num']."\n");
 				}
-				$result[$jsonTripId] = $data;
+				$result[$this->jsonTrips[$jsonTripId]['id']] = $data;
 			}
 		}
 		return $result;

--
Gitblit v1.9.1