Skip to content

Commit bc51493

Browse files
committed
fix: 修个错误
1 parent de5eac0 commit bc51493

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

assets/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ async function load() {
10961096

10971097
}, 10000)
10981098
$dashboard_locals.basic_task_system_info = Tools.runTask(setInterval, async () => {
1099-
var resp = await $channel.send("systeminfo_loads")
1099+
var resp = await $channel.send("systeminfo")
11001100
console.log(resp)
11011101
}, 1000)
11021102

core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def measure_storage(self) -> bool:
161161

162162
const = Const()
163163

164-
VERSION = "3.2.2"
164+
VERSION = "3.2.3"
165165
API_VERSION = "1.13.1"
166166
USER_AGENT = f"openbmclapi/{API_VERSION} python-openbmclapi/{VERSION}"
167167
PYTHON_VERSION = ".".join(map(str, (sys.version_info.major, sys.version_info.minor, sys.version_info.micro)))

core/dashboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ async def handle_api(
385385
val.value.connection
386386
)
387387
ret_data["memory"] = val.value.memory_usage
388-
ret_data["connections"]["tcp"] = val.value.connection.tcp
389-
ret_data["connections"]["udp"] = val.value.connection.udp
388+
ret_data["connection"]["tcp"] = val.value.connection.tcp
389+
ret_data["connection"]["udp"] = val.value.connection.udp
390390
c = int(val._) if val is not None else 0
391391
c -= 300
392392
loads = [

0 commit comments

Comments
 (0)