mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-03-05 20:51:53 -08:00
forced encoding so server.py would start on pi zero 2 w image
This commit is contained in:
parent
97f9cbf9ca
commit
6a8811dca9
|
@ -14,6 +14,11 @@ other BBS servers listed in the config.ini file.
|
|||
|
||||
import logging
|
||||
import time
|
||||
import sys
|
||||
import io
|
||||
|
||||
# Reconfigure stdout to use UTF-8 encoding
|
||||
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
|
||||
|
||||
from config_init import initialize_config, get_interface, init_cli_parser, merge_config
|
||||
from db_operations import initialize_database
|
||||
|
|
Loading…
Reference in a new issue