Simple fix for the errors popping up on invalid Python characters