修复配置文件读写问题。

This commit is contained in:
2025-05-10 00:38:47 +08:00
parent 782b88e3c4
commit c4b1202523
3 changed files with 35 additions and 3 deletions

View File

@ -30,7 +30,7 @@ def unpack_llc_pack(from_dist: str, raise_error: bool = True):
== hashlib.pbkdf2_hmac(
"sha256",
md5_value + packed_bytes,
salt(hashlib.sha256(brotli.__version__)),
salt(hashlib.sha256(str(brotli.__version__).encode("gb18030"))),
16,
)
):