edidconf: fixed checksums update in write_bin()

This commit is contained in:
Maxim Devaev 2022-08-30 14:57:39 +03:00
parent 0128145e99
commit a0872fc69c

View File

@ -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))