Fix asyncio loop stuff

This commit is contained in:
Nick Guy 2025-03-02 15:04:19 +00:00
parent 2a25186ac3
commit c9cd3435a3

View file

@ -25,7 +25,7 @@ def rule_to_string(rule: asusrouter.modules.port_forwarding.PortForwardingRule):
def apply_port_changes():
loop = asyncio.get_event_loop()
loop = asyncio.new_event_loop()
session = aiohttp.ClientSession(loop=loop)