Skip to content

Commit f70f14b

Browse files
neubigtony
andcommitted
Update src/libtmux/neo.py
Co-authored-by: Tony Narlock <tony@git-pull.com>
1 parent 16d4f05 commit f70f14b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libtmux/neo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def get_output_format() -> tuple[list[str], str]:
188188
def parse_output(output: str) -> OutputRaw:
189189
"""Parse tmux output formatted with get_output_format() into a dict."""
190190
# Exclude 'server' - it's a Python object, not a tmux format variable
191-
formats = [f for f in Obj.__dataclass_fields__.keys() if f != "server"]
191+
formats = [f for f in Obj.__dataclass_fields__ if f != "server"]
192192
formatter = dict(zip(formats, output.split(FORMAT_SEPARATOR), strict=False))
193193
return {k: v for k, v in formatter.items() if v}
194194

0 commit comments

Comments
 (0)