summaryrefslogtreecommitdiff
path: root/.offlineimap/offlineimap.py
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-12-12 12:33:46 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-12-12 12:33:46 +0000
commit40bd1a26eba933f00297e91e381654f693dcf385 (patch)
tree67c22da8f69d26411503fd66d58c765518fa70fb /.offlineimap/offlineimap.py
parent1f7ed635e21a70b1f1a6807557cf31f5612531af (diff)
Update mail configuration
Diffstat (limited to '.offlineimap/offlineimap.py')
-rw-r--r--.offlineimap/offlineimap.py4
1 files changed, 1 insertions, 3 deletions
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()