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