wizzomafizzo / MiSTer_GamesMenu

Launch games from the MiSTer menu
MIT License
25 stars 5 forks source link

TypeError: 'set' object is not subscriptable #15

Open FiZiX opened 9 months ago

FiZiX commented 9 months ago

Thank you for this awesome script! I wanted to report this exception that occurred during scanning of my SG1000 folder:

Traceback (most recent call last): File "/media/fat/Scripts/./gamesmenu.sh", line 464, in <module> display_generate_mgls(systems) File "/media/fat/Scripts/./gamesmenu.sh", line 317, in display_generate_mgls for system, path, parent, filename, match in get_system_files( File "/media/fat/Scripts/./gamesmenu.sh", line 214, in get_system_files match = match_system_file(system, zip_path) File "/media/fat/Scripts/./gamesmenu.sh", line 166, in match_system_file if ext.lower() in type[0]: TypeError: 'set' object is not subscriptable

I was able to get around it by disabling Coleco in my games menu. SG1000 was already disabled.