Issue #89: fix encoding.

This commit is contained in:
Sergey Vartanov 2021-09-24 19:10:44 +03:00
parent 7859677f62
commit c40af57cb7

View file

@ -15,6 +15,9 @@ __email__ = "me@enzet.ru"
def main() -> None: def main() -> None:
"""Map Machine command-line entry point.""" """Map Machine command-line entry point."""
sys.stdin.reconfigure(encoding="utf-8")
sys.stdout.reconfigure(encoding="utf-8")
logging.basicConfig(format="%(levelname)s %(message)s", level=logging.INFO) logging.basicConfig(format="%(levelname)s %(message)s", level=logging.INFO)
workspace: Workspace = Workspace(Path("out")) workspace: Workspace = Workspace(Path("out"))