feat: dynamic tooltip

This commit is contained in:
aclist committed 2026-04-11 22:35:52 +09:00
1 parent 600fea8a82
commit 82cddf261e
9 files changed
+61 -28

No files matched your search

+1 -7
View File
@@ -16,12 +16,6 @@ def read_json(path: Path) -> dict:
def write_json(data: dict, path: Path) -> None:
try:
j = json.dumps(data, indent=2)
path.write_text(j)
except Exception as e:
raise e
# TODO: Path.write_text()
try:
with open(path, "w") as outfile:
outfile.write(j)
except OSError as e:
raise e