mutt-wizard

fork of Luke Smiths mutt-wizard
git clone git://git.jakekoroman.com/mutt-wizard
Log | Files | Refs | README | LICENSE

commit 3c41844e63a4099f8b7b3692617e8cdee01059d4
parent 6d5f14112e2ed8d4050e253a9e82e44b9bc195b3
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue, 19 Feb 2019 08:14:17 -0500

utf-8 decoding

Diffstat:
Mcredentials/imappwd.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/credentials/imappwd.py b/credentials/imappwd.py @@ -6,6 +6,6 @@ def mailpasswd(acct): path = "%s/.config/mutt/credentials/%s.gpg" % (home,acct) args = ["gpg2", "--use-agent", "--quiet", "--batch", "-d", path] try: - return subprocess.check_output(args).strip() + return subprocess.check_output(args).strip().decode('UTF-8') except subprocess.CalledProcessError: return ""