summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcredentials/imappwd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/credentials/imappwd.py b/credentials/imappwd.py
index 0a74804..03611dd 100755
--- 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 ""