chrisys / train-departure-display

A replica, near real-time, miniature UK railway station train departure sign based upon a Raspberry Pi Zero and 256x64 SPI OLED display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Platforms > 10 doesn't show

woadjon83 opened this issue · comments

I have two displays on a Pi Zero WH using Balena Cloud. Running version 0.5.4+rev1. If I select, for example, platform 13 for display 1, and 14 for display 2 at Manchester Piccadilly, I get all departures from every platform rather than just 13 and 14. I also tried London Victoria and the same occurs.

I think this might be my bad. I've since re-tested the regex I wrote to handle platforms with letters, and it doesn't seem to work for anything above 10. I'll submit a pull request shortly to fix this.