mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-12-15 07:52:53 -05:00
forced encoding so server.py would start on pi zero 2 w image
This commit is contained in:
parent
97f9cbf9ca
commit
6a8811dca9
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue