Make connector status readable for admin display

This commit is contained in:
Terranom674
2026-08-17 11:46:31 +02:00
parent 6934839284
commit 8a9e20caec

View File

@@ -27,6 +27,7 @@ fd, temporary = tempfile.mkstemp(dir=os.path.dirname(path))
with os.fdopen(fd, "w", encoding="utf-8") as handle:
json.dump(payload, handle, ensure_ascii=False)
handle.write("\n")
os.chmod(temporary, 0o644)
os.replace(temporary, path)
PY
}