Open ultimoistante opened 9 years ago
I get an error when running after the change:
pi@raspberrypi:~$ python /home/pi/scraper.py
Traceback (most recent call last):
File "/home/pi/scraper.py", line 427, in
@sgtstadanko: This means your XML isn't well-formed. In other words, something is syntactically incorrect in your es_systems.cfg file.
I'd recommend you trim this file down to just the emulators you're actually using, and make sure you have a closing tag for all opening tags and they're properly nested.
<platformid>7</platformid>
etc.
Hi, I've just written a new readConfig function to correctly parse the es_systems.cfg file, now in XML format. Just replace the function readConfig with this:
Note: you need to add the subnode in all the nodes, like this: