Skip to content

Commit

Permalink
events: strip whitespaces from OUTPUT, OUTPUT_PART
Browse files Browse the repository at this point in the history
  • Loading branch information
lasers committed Apr 7, 2024
1 parent 781e4f6 commit 0fc3131
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 0fc3131

Please sign in to comment.