X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/e45af3d4a0faa3f7c46a0a2a9647ad09f1ba8720..16fee874e7d2591849708b47ae0f486637d42cbc:/stgit/commands/mail.py diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py index bd56f16..c3c047a 100644 --- a/stgit/commands/mail.py +++ b/stgit/commands/mail.py @@ -404,7 +404,7 @@ def func(parser, options, args): if options.cover or options.edit: # find the template file if options.cover: - tmpl = file(options.template).read() + tmpl = file(options.cover).read() else: tmpl = templates.get_template('covermail.tmpl') if not tmpl: