__problem_char_rm was removed and a regex was created called bad_chars as a class attrib. This replaces looping through the entire bad chars list and using using replace.
Also instead of importing os, it was changed to from os import path as that was the only thing being used in this module
__problem_char_rm was removed and a regex was created called bad_chars as a class attrib. This replaces looping through the entire bad chars list and using using replace.
Also instead of importing os, it was changed to from os import path as that was the only thing being used in this module