diff --git a/shittyserver.py b/shittyserver.py index e64ef04..b2fff71 100644 --- a/shittyserver.py +++ b/shittyserver.py @@ -17,7 +17,7 @@ from aiortc import MediaStreamTrack, RTCPeerConnection, RTCSessionDescription # from aiortc.mediastreams import MediaStreamError # type: ignore from raygun4py import raygunprovider # type: ignore -config = configparser.ConfigParser() +config = configparser.RawConfigParser() config.read("serverconfig.ini") ENABLE_EXCEPTION_LOGGING = False diff --git a/stateserver.py b/stateserver.py index 3a4db0e..289bc18 100755 --- a/stateserver.py +++ b/stateserver.py @@ -13,7 +13,7 @@ import random from telnetlib import Telnet import configparser -config = configparser.ConfigParser() +config = configparser.RawConfigParser() config.read("serverconfig.ini") api_key = config.get("stateserver", "myradio_key")