Skip to content

Commit

Permalink
chore: Removed usage of asyncio with default event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Clon1998 committed Dec 4, 2024
1 parent 4b4b766 commit 1d1e2eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobileraker.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def main() -> None:
os.path.expanduser(cmd_line_args.configfile))

local_config = CompanionLocalConfig(passed_config_location)

event_loop = asyncio.get_event_loop()
event_loop = asyncio.new_event_loop()
asyncio.set_event_loop(event_loop)
fcmc = MobilerakerFcmClient(
# 'http://127.0.0.1:8080',
'https://mobileraker.eliteschw31n.de',
Expand Down

0 comments on commit 1d1e2eb

Please sign in to comment.