mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
edidconf: fixed checksums update in write_bin()
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user