- commit
- 771bcb68099f00f2ca5035ab408f947ea88add43
- parent
- 910e0a42cea25427486a7765ca2fa40f6b6ce239
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-08-27 12:40
ignore additional data on broken leg table
Diffstat
| M | db_pkpass.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_pkpass.py b/db_pkpass.py
@@ -167,7 +167,7 @@ def extract_leg(line, start): 167 167 } 168 168 169 169 if len(line) > 3:170 -1 platform1, platform2 = (v.strip() for v in line[3].split('\n'))-1 170 platform1, platform2 = (v.strip() for v in line[3].split('\n')[:2]) 171 171 if platform1: 172 172 leg['start']['platform'] = platform1 173 173 if platform2: