还原注释

This commit is contained in:
limil 2024-10-28 20:22:19 +08:00
parent 3e70d8b27b
commit 2270ed7f72

View File

@ -81,11 +81,10 @@ class PikpakConsole(cmd2.Cmd):
return await asyncio.wrap_future(future) return await asyncio.wrap_future(future)
async def aoutput(self, output): async def aoutput(self, output):
return "" async def PrintOuput(output):
# async def PrintOuput(output): print(output)
# print(output) future = asyncio.run_coroutine_threadsafe(PrintOuput(output), self.ioLoop)
# future = asyncio.run_coroutine_threadsafe(PrintOuput(output), self.ioLoop) await asyncio.wrap_future(future)
# await asyncio.wrap_future(future)
async def Run(self): async def Run(self):
# 1. 设置忽略SIGINT # 1. 设置忽略SIGINT