style: ruff format — collapse AttributeError log call to single line
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user