You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Set mode to carbon, store data and update display
Then set mode to agile, and update display
Error occurs
Expected behaviour
The missing data should be handled gracefully, perhaps with a reminder to store data first
*Error
Traceback (most recent call last):
File "/home/pi/pi-eco-indicator/./update_display.py", line 67, in <module>
eco_indicator.update_inky(config, data_rows, args.demo)
File "/home/pi/pi-eco-indicator/eco_indicator.py", line 261, in update_inky
high_slots_start_idx = high_slots_list.index(max(high_slots_list))
ValueError: max() arg is an empty sequence
The text was updated successfully, but these errors were encountered:
To Reproduce
Set mode to carbon, store data and update display
Then set mode to agile, and update display
Error occurs
Expected behaviour
The missing data should be handled gracefully, perhaps with a reminder to store data first
*Error
The text was updated successfully, but these errors were encountered: