ErisPulse 1.1.3__tar.gz → 1.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse/__init__.py +7 -9
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse.egg-info/PKG-INFO +1 -1
- {erispulse-1.1.3 → erispulse-1.1.4}/PKG-INFO +1 -1
- {erispulse-1.1.3 → erispulse-1.1.4}/pyproject.toml +1 -1
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse/__main__.py +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse/adapter.py +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse/db.py +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse/logger.py +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse/mods.py +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse/raiserr.py +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse/util.py +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse.egg-info/SOURCES.txt +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse.egg-info/dependency_links.txt +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse.egg-info/entry_points.txt +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse.egg-info/requires.txt +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/ErisPulse.egg-info/top_level.txt +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/README.md +0 -0
- {erispulse-1.1.3 → erispulse-1.1.4}/setup.cfg +0 -0
|
@@ -136,15 +136,13 @@ def init():
|
|
|
136
136
|
moduleObj = module_objs[module_name]
|
|
137
137
|
meta_name = moduleObj.moduleInfo["meta"]["name"]
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
except Exception as e:
|
|
147
|
-
logger.error(f"模块 {meta_name} 注册适配器失败: {e}")
|
|
139
|
+
try:
|
|
140
|
+
if hasattr(moduleObj, "adapterInfo") and isinstance(moduleObj.adapterInfo, dict):
|
|
141
|
+
for platform_name, adapter_class in moduleObj.adapterInfo.items():
|
|
142
|
+
sdk.adapter.register(platform_name, adapter_class)
|
|
143
|
+
logger.info(f"模块 {meta_name} 注册了适配器: {platform_name}")
|
|
144
|
+
except Exception as e:
|
|
145
|
+
logger.error(f"模块 {meta_name} 注册适配器失败: {e}")
|
|
148
146
|
|
|
149
147
|
# ==== 存储模块信息到数据库 ====
|
|
150
148
|
all_modules_info = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ErisPulse
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
|
|
5
5
|
Author-email: "艾莉丝·格雷拉特(WSu2059)" <wsu2059@qq.com>, runoneall <runoobsteve@gmail.com>
|
|
6
6
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ErisPulse
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
|
|
5
5
|
Author-email: "艾莉丝·格雷拉特(WSu2059)" <wsu2059@qq.com>, runoneall <runoobsteve@gmail.com>
|
|
6
6
|
Classifier: Development Status :: 5 - Production/Stable
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|