diff --git a/bin/i3-companion b/bin/i3-companion
index 5d87143..b9bd548 100755
--- a/bin/i3-companion
+++ b/bin/i3-companion
@@ -621,7 +621,7 @@ async def workspace_info(i3, event):
else:
first = "├─"
others = "│ "
- content = format(child).replace("\n", f"\n{others}")
+ content = format(child).replace("\n", f"\n{others}")
children.append(f"{first}{content}")
children.insert(0, root)
return "\n".join(children)