Skip to content

Commit

Permalink
uncomment running loop
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas committed Apr 16, 2021
1 parent 953c0d0 commit 1f497e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aioimaplib/aioimaplib.py
Expand Up @@ -103,8 +103,8 @@ def get_running_loop() -> asyncio.AbstractEventLoop:
return asyncio.get_running_loop()

loop = asyncio.get_event_loop()
#if not loop.is_running():
# raise RuntimeError("no running event loop")
if not loop.is_running():
raise RuntimeError("no running event loop")

return loop

Expand Down

0 comments on commit 1f497e0

Please sign in to comment.