We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba45e6 commit 70cd00bCopy full SHA for 70cd00b
internal_filesystem/lib/mpos/main.py
@@ -89,8 +89,10 @@ def custom_exception_handler(e):
89
90
# Create limited aiorepl because it's better than nothing:
91
import aiorepl
92
-print("Starting very limited asyncio REPL task. Use sys.exit() to stop all asyncio tasks and go to real REPL...")
93
-mpos.TaskManager.create_task(aiorepl.task()) # only gets started when mpos.TaskManager() is created
+async def asyncio_repl():
+ print("Starting very limited asyncio REPL task. Use sys.exit() to stop all asyncio tasks and go to real REPL...")
94
+ await aiorepl.task()
95
+mpos.TaskManager.create_task(asyncio_repl()) # only gets started when mpos.TaskManager() is created
96
97
async def ota_rollback_cancel():
98
try:
0 commit comments