From 17d813a3cf402d9a334ff944f08900d141a20ae8 Mon Sep 17 00:00:00 2001 From: STDquantum <405720329@qq.com> Date: Wed, 3 Jan 2024 14:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/DataBase/hard_link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/DataBase/hard_link.py b/app/DataBase/hard_link.py index bde5f30..ed01068 100644 --- a/app/DataBase/hard_link.py +++ b/app/DataBase/hard_link.py @@ -235,7 +235,7 @@ def decodeExtraBuf(extra_buf_content: bytes): content = extra_buf_content[off : off + 1] off += 1 res[trunk_head][field] = int.from_bytes(content, "little") - elif char == b"\x05": # 暂时不知道有啥用,固定8个字节 + elif char == b"\x05": # 暂时不知道有啥用,固定8个字节,先当int处理 length = 8 content = extra_buf_content[off : off + length] off += length