From d8db9eb3b12045a9a454ec624964eee863e55b3d Mon Sep 17 00:00:00 2001 From: MistEO Date: Sun, 28 Aug 2022 15:49:24 +0800 Subject: [PATCH] feat: fix python interface --- src/Python/sample.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Python/sample.py b/src/Python/sample.py index 55070e161a..1fd847aae7 100644 --- a/src/Python/sample.py +++ b/src/Python/sample.py @@ -1,6 +1,6 @@ import json import pathlib -import asyncio +import time from asst import Asst, Message @@ -66,4 +66,4 @@ if __name__ == "__main__": asst.start() while asst.running(): - asyncio.sleep(0) + time.sleep(0)