Skip to content
Snippets Groups Projects
Commit 20539d84 authored by anarcat's avatar anarcat
Browse files

Merge branch 'bugfix/fix-mua-sending' into '2.x'

Don't escape percent signs that are actually required in default mua command

Closes #59

See merge request !21
parents 39945fab 5a5f435a
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ class MonkeysignArgumentParser(argparse.ArgumentParser):
'passed on the commandline in the "%%(to)s"'
' field, or the command must parse the '
'"To:" header (default: %(default)s)'))
default_mua = "xdg-email --utf8 --to '%%(to)s' --subject '%%(subject)s' --body '%%(body)s' --attach '%%(attach)s'"
default_mua = "xdg-email --utf8 --to '%(to)s' --subject '%(subject)s' --body '%(body)s' --attach '%(attach)s'"
self.add_argument('--mua', nargs='?', default=None, const=default_mua,
help=_('Mail User Agent to use to send mail. all '
'parameters are passed on the commandline,'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment