summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-08-30 14:57:39 +0300
committerMaxim Devaev <[email protected]>2022-08-30 15:54:20 +0300
commita0872fc69c65e87a7ac9851ce576b51ccdc33f89 (patch)
treeb72e1f7ec942c4c65185da7ad5987fd07334b0a8
parent0128145e991253436282bbec964202f25e3dac46 (diff)
edidconf: fixed checksums update in write_bin()
-rw-r--r--kvmd/apps/edidconf/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/apps/edidconf/__init__.py b/kvmd/apps/edidconf/__init__.py
index a5ae885f..53edf5fd 100644
--- a/kvmd/apps/edidconf/__init__.py
+++ b/kvmd/apps/edidconf/__init__.py
@@ -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))