Commit 20539d84 authored by anarcat's avatar anarcat

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
......@@ -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,'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment