Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions todoman/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ def compact_multiple(self, todos: Iterable[Todo], hide_list: bool = False) -> st

# TODO: add spaces on the left based on max todos"

# FIXME: double space when no priority
# split into parts to satisfy linter line too long
priority_str = f"{priority} " if priority else ""
table.append(
f"[{completed}] {todo.id} {priority} {due} "
f"[{completed}] {todo.id} {priority_str}{due} "
f"{recurring}{summary}{categories}"
)

Expand Down