Nov-27-2020, 01:29 PM
Aaaand it turns out I am a stupid moron. It works, it just gets to the end of the data and gives an error as it is empty. I've managed to fix it by just adding a try - except statement. If someone is more interested, let me know.