From a815a3397fa73a33919a5681dfec6b0e55334069 Mon Sep 17 00:00:00 2001 From: Samuel Yeom Date: Mon, 7 Aug 2017 16:02:42 -0400 Subject: [PATCH] updated to be compatible with changes in Port Authority API --- backend/pat_to_firebase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/pat_to_firebase.py b/backend/pat_to_firebase.py index 811f2f4..45bc8f8 100644 --- a/backend/pat_to_firebase.py +++ b/backend/pat_to_firebase.py @@ -24,6 +24,7 @@ def pat_to_firebase(bus): } routes = ['13', '16', '26', '27', '28X', '36', '38', '39', '41', '48', '54', '56', '57', '58', '59', '6', '61A', '61B', '61C', '61D', '67', '69', '71A', '71B', '71C', '71D', '75', '8', '82', '86', '88', '93', 'G2', 'O12', 'P1', 'P10', 'P12', 'P2', 'P3', 'Y1', 'Y49'] +routes = ['Port Authority Bus:' + route for route in routes] buses = get_buses(','.join(routes))['buses'] if 'bus' not in buses: