Skip to content

The agent that grows with you

fix update lock oops

ethernet64223658e978
diff --git a/hermes_cli/update_lock.py b/hermes_cli/update_lock.py
index 8aed936faa5..078df581bfb 100644
--- a/hermes_cli/update_lock.py
+++ b/hermes_cli/update_lock.py
@@ -129,7 +129,7 @@ def describe_holder(holder: UpdateHolder | None) -> str:
minutes, seconds = divmod(int(max(0 if holder is None else holder.age_seconds, 0)), 60)
elapsed = f"{minutes}m {seconds}s" if minutes else f"{seconds}s"
return (
- f"✗ Another Hermes update is already running {f"(PID {holder.pid})" if holder else ""}, "
+ f"✗ Another Hermes update is already running {f'(PID {holder.pid})' if holder else ''}, "
f"started {elapsed} ago).\n"
"\n"
" Two updates running at once can corrupt Hermes. Wait for the update to finish, then try again."