Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,7 @@ def getRouteList():
|
|
| 65 |
|
| 66 |
# Replace dash between number and name with space (e.g., "26-Dupont" -> "26 Dupont")
|
| 67 |
text = re.sub(r'(\d+)-([A-Za-z])', r'\1 \2', text)
|
|
|
|
| 68 |
|
| 69 |
routes[rid] = text
|
| 70 |
|
|
|
|
| 65 |
|
| 66 |
# Replace dash between number and name with space (e.g., "26-Dupont" -> "26 Dupont")
|
| 67 |
text = re.sub(r'(\d+)-([A-Za-z])', r'\1 \2', text)
|
| 68 |
+
if not 'Night Bus' in text: continue
|
| 69 |
|
| 70 |
routes[rid] = text
|
| 71 |
|