From 40bd1a26eba933f00297e91e381654f693dcf385 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 12 Dec 2015 12:33:46 +0000 Subject: Update mail configuration --- .offlineimap/offlineimap.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.offlineimap/offlineimap.py') diff --git a/.offlineimap/offlineimap.py b/.offlineimap/offlineimap.py index 7d2b481..023f418 100644 --- a/.offlineimap/offlineimap.py +++ b/.offlineimap/offlineimap.py @@ -3,10 +3,8 @@ import os import subprocess - def mailpasswd(acct): - acct = os.path.basename(acct) - path = "/home/urbain/.password-store/Mail/%s.gpg" % acct + path = "/home/urbain/.password-store/%s.gpg" % acct args = ["gpg2", "--use-agent", "--quiet", "--batch", "-d", path] try: return subprocess.check_output(args).strip() -- cgit v1.2.3