strip cli messages
This commit is contained in:
parent
efa0f5b030
commit
ff01effeb8
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user