use RawConfigParser to avoid interpolation bollocks
This commit is contained in:
parent
f905a93dfb
commit
093480c953
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ from aiortc import MediaStreamTrack, RTCPeerConnection, RTCSessionDescription #
|
||||||
from aiortc.mediastreams import MediaStreamError # type: ignore
|
from aiortc.mediastreams import MediaStreamError # type: ignore
|
||||||
from raygun4py import raygunprovider # type: ignore
|
from raygun4py import raygunprovider # type: ignore
|
||||||
|
|
||||||
config = configparser.ConfigParser()
|
config = configparser.RawConfigParser()
|
||||||
config.read("serverconfig.ini")
|
config.read("serverconfig.ini")
|
||||||
|
|
||||||
ENABLE_EXCEPTION_LOGGING = False
|
ENABLE_EXCEPTION_LOGGING = False
|
||||||
|
|
|
@ -13,7 +13,7 @@ import random
|
||||||
from telnetlib import Telnet
|
from telnetlib import Telnet
|
||||||
import configparser
|
import configparser
|
||||||
|
|
||||||
config = configparser.ConfigParser()
|
config = configparser.RawConfigParser()
|
||||||
config.read("serverconfig.ini")
|
config.read("serverconfig.ini")
|
||||||
|
|
||||||
api_key = config.get("stateserver", "myradio_key")
|
api_key = config.get("stateserver", "myradio_key")
|
||||||
|
|
Loading…
Reference in a new issue