[Pywikipedia-bugs] [Bug 54539] Remove error-prone invalid-char exception