Skip to content

Commit

Permalink
get_event_loop -> get_running_loop
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersGlass committed Nov 10, 2022
1 parent bb52a98 commit 4f5f5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscriptjs/src/python/pyscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import micropip # noqa: F401
from js import console, document

loop = asyncio.get_event_loop()
loop = asyncio.get_running_loop()

MIME_METHODS = {
"__repr__": "text/plain",
Expand Down

0 comments on commit 4f5f5ef

Please sign in to comment.