Call strip on --subject text.

master
voussoir 2021-09-16 17:37:38 -07:00
parent e0f37b986c
commit adc99d383e
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 2 additions and 1 deletions

View File

@ -263,9 +263,10 @@ def main_log_context(argv, subject, *args, **kwargs):
def operatornotify_argparse(args):
notify(
subject=pipeable.input(args.subject, split_lines=False),
subject=pipeable.input(args.subject, split_lines=False).strip(),
body=pipeable.input(args.body, split_lines=False),
)
return 0
@vlogging.main_decorator
def main(argv):