ErisPulse 2.1.3__py3-none-any.whl → 2.1.4__py3-none-any.whl

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/__main__.py CHANGED
@@ -84,7 +84,8 @@ class PyPIManager:
84
84
  async with aiohttp.ClientSession(timeout=timeout) as session:
85
85
  async with session.get(PyPIManager.REMOTE_SOURCES[0]) as response:
86
86
  if response.status == 200:
87
- data = await response.json()
87
+ data = await response.text()
88
+ data = json.loads(data)
88
89
  return {
89
90
  "modules": data.get("modules", {}),
90
91
  "adapters": data.get("adapters", {})
@@ -97,7 +98,8 @@ class PyPIManager:
97
98
  async with aiohttp.ClientSession(timeout=timeout) as session:
98
99
  async with session.get(PyPIManager.REMOTE_SOURCES[1]) as response:
99
100
  if response.status == 200:
100
- data = await response.json()
101
+ data = await response.text()
102
+ data = json.loads(data)
101
103
  return {
102
104
  "modules": data.get("modules", {}),
103
105
  "adapters": data.get("adapters", {})
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ErisPulse
3
- Version: 2.1.3
3
+ Version: 2.1.4
4
4
  Summary: ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
5
5
  Author-email: "艾莉丝·格雷拉特(WSu2059)" <wsu2059@qq.com>, runoneall <runoobsteve@gmail.com>
6
6
  License: MIT License
@@ -1,5 +1,5 @@
1
1
  ErisPulse/__init__.py,sha256=kQr2n1oeThlJVy7NY_ZMXgDsgZuhsBC5V6ysl2I59PQ,27471
2
- ErisPulse/__main__.py,sha256=yxlB-rCQKy7D5XMWqP5id1sOQbzLuPx048NNpLaCDf8,19851
2
+ ErisPulse/__main__.py,sha256=qqx1F8bPRKhjalKVapI3RtLupHuLlYPRk503oduYADY,19947
3
3
  ErisPulse/Core/__init__.py,sha256=Wnkb4rI5kZhg8cdJE1sBfNRch55Aqp56npQ0DGXyHMA,675
4
4
  ErisPulse/Core/adapter.py,sha256=lw5T336EsNtjUgSPdevcOZReZNkA8oYvvTRCHk_fo_o,18149
5
5
  ErisPulse/Core/env.py,sha256=9WYNadD9h2jP_2wxOVBJEhH1uDzbctW7eB4Ba9RSjA4,20409
@@ -9,8 +9,8 @@ ErisPulse/Core/raiserr.py,sha256=QLQ3r7p4iFP86XBLq9mtf1wv1xSlgny35i8t5-l4DXo,462
9
9
  ErisPulse/Core/server.py,sha256=FkDTeLuHD5IBnWVxvYU8pHb6yCt8GzyvC1bpOiJ7G7I,9217
10
10
  ErisPulse/Core/shellprint.py,sha256=-BFoyFho_D3XEhxIoKt6x5gO4C62LKwmJWKDUGiPjNY,5908
11
11
  ErisPulse/Core/util.py,sha256=kyydBAJHHG9I7rMRzKWtLAQMZoJyBqHiBAweqcraFkU,4001
12
- erispulse-2.1.3.dist-info/METADATA,sha256=2BMh2bNQUugV9gVX8Ch39Jx4PqN183z0F4umn2k-rko,6190
13
- erispulse-2.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- erispulse-2.1.3.dist-info/entry_points.txt,sha256=Jss71M6nEha0TA-DyVZugPYdcL14s9QpiOeIlgWxzOc,182
15
- erispulse-2.1.3.dist-info/licenses/LICENSE,sha256=4jyqikiB0G0n06CEEMMTzTXjE4IShghSlB74skMSPQs,1464
16
- erispulse-2.1.3.dist-info/RECORD,,
12
+ erispulse-2.1.4.dist-info/METADATA,sha256=RK1Ie9z8Aj8dWZdCjAuEwRHlutdO5lV1-O42RW4CxyY,6190
13
+ erispulse-2.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ erispulse-2.1.4.dist-info/entry_points.txt,sha256=Jss71M6nEha0TA-DyVZugPYdcL14s9QpiOeIlgWxzOc,182
15
+ erispulse-2.1.4.dist-info/licenses/LICENSE,sha256=4jyqikiB0G0n06CEEMMTzTXjE4IShghSlB74skMSPQs,1464
16
+ erispulse-2.1.4.dist-info/RECORD,,