rom_cleaner
rom_cleaner copied to clipboard
Catch possible exception with special characters
Problem If a file has a name with special characters it will broke execution. This fix allows execution to continue and prints the wrong file.
Example
I had a SNES rom with this name: Odekake Lester - Lelele no Le (^^; (Japan).zip
The problem in my case was the ^ character, when the script was trying to parse its name it was throwing an exception.
This could be fixed better but i have little experience with python.