strip cli messages

This commit is contained in:
JJJHolscher 2024-11-04 11:34:15 +01:00
parent efa0f5b030
commit ff01effeb8

View File

@ -68,7 +68,7 @@ def main():
# Get the message from the cli ... # Get the message from the cli ...
message = args.message message = args.message
if message: if message:
message = " ".join(message) message = " ".join(message).strip()
# ... or stdin ... # ... or stdin ...
if not message: if not message:
message = get_stdin() message = get_stdin()