Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firstDepartureBold variable not working #106

Open
christopherpm opened this issue Oct 3, 2023 · 2 comments
Open

firstDepartureBold variable not working #106

christopherpm opened this issue Oct 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@christopherpm
Copy link

Hi,

First of all, thank you for this project. I have just this week built a departure board using the instructions at balena.

One thing not working for me though - I have set firstDepartureBold to false, but the first departure still shows in bold.

Regards,
Chris

@christopherpm
Copy link
Author

Just to add to the above. I commented out lines 407 and 408 of main.py on the device and rebooted. The first line then wasn't bold. However, as soon as I change a variable in Balena cloud and save the changes, the main.py on the device reverts to the original and once again the first line is in bold.

@christopherpm
Copy link
Author

I have discovered the issue! All of the true / false flags in the variables are set to lower case. Python is case sensitive and expects the first letter of a True of False flag to be capitalised.

As soon as I changed the variables to either True or False, things started displaying as I would expect.

@chrisys chrisys added the bug Something isn't working label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants