From 433c6b3b85b6694bd5a16cd91dca197ae2e80625 Mon Sep 17 00:00:00 2001 From: snowykami Date: Sun, 1 Sep 2024 10:51:31 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=96=B0=E5=A2=9E=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki/comm/channel.py | 2 -- src/__init__.py | 0 src/liteyuki_plugins/reboot.py | 18 ------------------ 3 files changed, 20 deletions(-) delete mode 100644 src/__init__.py delete mode 100644 src/liteyuki_plugins/reboot.py diff --git a/liteyuki/comm/channel.py b/liteyuki/comm/channel.py index c077717a..594c45df 100644 --- a/liteyuki/comm/channel.py +++ b/liteyuki/comm/channel.py @@ -138,10 +138,8 @@ class Channel(Generic[T]): Returns: T: 数据 """ - print("等待接收数据") loop = asyncio.get_running_loop() data = await loop.run_in_executor(None, self.receive) - print("接收到数据") return data def on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]: diff --git a/src/__init__.py b/src/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/src/liteyuki_plugins/reboot.py b/src/liteyuki_plugins/reboot.py deleted file mode 100644 index 3ba8eb81..00000000 --- a/src/liteyuki_plugins/reboot.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved - -@Time : 2024/8/11 下午8:22 -@Author : snowykami -@Email : snowykami@outlook.com -@File : reloader.py.py -@Software: PyCharm -""" -from liteyuki.plugin import PluginMetadata, PluginType - -__plugin_meta__ = PluginMetadata( - name="重启", - author="snowykami", - description="进程管理器,用于管理子进程", - type=PluginType.MODULE -)