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:
|
try:
|
||||||
silent_guard = MempalaceConfig().hook_silent_save
|
silent_guard = MempalaceConfig().hook_silent_save
|
||||||
except AttributeError as exc:
|
except AttributeError as exc:
|
||||||
_log(
|
_log(f"WARNING: could not read hook_silent_save: {exc}; defaulting to silent mode")
|
||||||
f"WARNING: could not read hook_silent_save: {exc}; defaulting to silent mode"
|
|
||||||
)
|
|
||||||
if not silent_guard:
|
if not silent_guard:
|
||||||
_output({})
|
_output({})
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user