Skip to content

Commit

Permalink
core: strip whitespaces from OUTPUT, OUTPUT_PART events (#2245)
Browse files Browse the repository at this point in the history
  • Loading branch information
lasers authored Aug 2, 2024
1 parent 081355b commit 0b0a6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py3status/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_module_text(self, module_name, event):
partial_text = partial["full_text"]
else:
partial_text = full_text
return full_text, partial_text
return (x.strip() for x in (full_text, partial_text))

def on_click_dispatcher(self, module_name, event, command):
"""
Expand Down

0 comments on commit 0b0a6c6

Please sign in to comment.