load config

This commit is contained in:
2024-03-12 23:23:27 +01:00
parent 4197745d4f
commit 2c5773426a

View File

@@ -10,6 +10,8 @@ OP_PING = 'PING'.encode()
OP_OK = 'OK'.encode()
OP_ERROR = 'ERROR'.encode()
config = yaml.safe_load(open("intercom.yml"))
class CallManager:
state = NO_CALL
station = None