Minor fix

This commit is contained in:
Maxim Khomutov 2023-07-13 00:31:02 +03:00
parent 5a1cb8a133
commit df171aaa70

View File

@ -53,7 +53,8 @@ async def _method(method, secret_key: str = None):
async def _stop():
await asyncio.sleep(1)
uvserver.should_exit = True
if uvserver is not None:
uvserver.should_exit = True
data_run[0] = False