Skip to content

Commit

Permalink
get_current_loop
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Sep 3, 2024
1 parent e0390dc commit 496545e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thingsdb/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
used. Defaults to `None`.
"""

self._loop = loop if loop else asyncio.get_event_loop()
self._loop = loop if loop else asyncio.get_running_loop()
self._auth = None
self._pool = None
self._protocol = None
Expand Down

0 comments on commit 496545e

Please sign in to comment.