From 875546040fedd1d7c0d02823668b63d8a6ffa17c Mon Sep 17 00:00:00 2001 From: W1CDN Date: Wed, 12 Jul 2023 12:47:29 -0500 Subject: [PATCH] Logging encoding. --- kiss_and_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss_and_db.py b/kiss_and_db.py index 7174038..81c43f7 100644 --- a/kiss_and_db.py +++ b/kiss_and_db.py @@ -26,7 +26,7 @@ def main(): # KISS_HOST = os.environ.get("KISS_HOST", "192.168.0.30") # KISS_PORT = os.environ.get("KISS_PORT", "8001") - logging.basicConfig(filename=config['Settings']['log_path'], encoding='utf-8', level=logging.DEBUG) + logging.basicConfig(filename=config['Settings']['log_path'], level=logging.DEBUG) logging.debug('kiss_and_db.py running') ki = aprs.TCPKISS(host=config['Settings']['kiss_host'], port=int(config['Settings']['kiss_port']))