Fixes #1774 by adding a logmessage for non ascii install path.

This commit is contained in:
Benjamin Fischer 2022-03-12 01:53:13 +01:00 committed by Dan Albert
parent 769fe12159
commit 827c68bf75

View File

@ -335,6 +335,11 @@ def main():
logging.debug("Python version %s", sys.version) logging.debug("Python version %s", sys.version)
if not str(Path(__file__)).isascii():
logging.warning(
"Installation path contains non-ASCII characters. This is known to cause problems."
)
game: Optional[Game] = None game: Optional[Game] = None
args = parse_args() args = parse_args()