Browse Source

Output user from address in human-readable format

I.e., not in rfc 2047 encoded format
tags/7.1.3
Nis Martensen Sandro Tosi 4 years ago
parent
commit
ae79ce6ca2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      bin/reportbug

+ 2
- 1
bin/reportbug View File

@@ -1323,7 +1323,8 @@ class UI(object):
"Please change your locale if this is incorrect.\n\n", charset)

fromaddr = utils.get_user_id(self.options.email, self.options.realname, charset)
ewrite("Using '%s' as your from address.\n", fromaddr)
ewrite("Using '%s' as your from address.\n",
str(email.header.make_header(email.header.decode_header(fromaddr))))
if self.options.debugmode:
sendto = fromaddr



Loading…
Cancel
Save