style: ruff format — collapse AttributeError log call to single line

This commit is contained in:
jp
2026-04-19 08:34:43 -07:00
parent 2629ae5b71
commit d657626736
+1 -3
View File
@@ -255,9 +255,7 @@ def hook_stop(data: dict, harness: str):
try:
silent_guard = MempalaceConfig().hook_silent_save
except AttributeError as exc:
_log(
f"WARNING: could not read hook_silent_save: {exc}; defaulting to silent mode"
)
_log(f"WARNING: could not read hook_silent_save: {exc}; defaulting to silent mode")
if not silent_guard:
_output({})
return