rom_cleaner icon indicating copy to clipboard operation
rom_cleaner copied to clipboard

Catch possible exception with special characters

Open thorin8k opened this issue 3 years ago • 0 comments

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.

thorin8k avatar Apr 01 '22 07:04 thorin8k