switch to python 3.12

This commit is contained in:
Stefan Allius
2023-10-09 22:21:00 +02:00
parent c7bf3f2e44
commit 97f426269f
2 changed files with 3 additions and 2 deletions

View File

@@ -64,7 +64,8 @@ if __name__ == "__main__":
# read config file
Config.read()
loop = asyncio.get_event_loop()
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
# call Mqtt singleton to establisch the connection to the mqtt broker
mqtt = Mqtt()