Slyk EPG 7 Day - v1.14
This bug has actually driven me insane tonight.
But after hours of going round in circles I have finally found the problem.
(which actually solves a lot of other errors I was trying to catch.)
In a very simplified explanation. If there was more than 1 value, it would be stored in a list.
[100,200,300]
now normally you keep the same data structure, so if there is only 1 value you would still put it in a list.
[100]
stupid sky data, if there was only one data value in a list. They don't put it in a list. They change the list to a dictionary
{100}
So any data that was singular was crashing my code as I thought I was working with lists and not dictionaries.
Fortunately these lists to dicts don't happen alot. But there is 3 data items this week causing mayhem.
I have now written in code to change these singular dictionaries back to a list. (4 hours later) Slyk EPG 7 Day - v1.14 Download https://www.sendspace.com/file/oyc7gl