mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
edidconf: fixed checksums update in write_bin()
This commit is contained in:
parent
0128145e99
commit
a0872fc69c
@ -83,6 +83,7 @@ class _Edid:
|
||||
file.write(text)
|
||||
|
||||
def write_bin(self, path: str) -> None:
|
||||
self.__update_checksums()
|
||||
with _smart_open(path, "wb") as file:
|
||||
file.write(bytes(self.__data))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user