summaryrefslogtreecommitdiff
path: root/.offlineimap/offlineimap.py
diff options
context:
space:
mode:
Diffstat (limited to '.offlineimap/offlineimap.py')
-rw-r--r--.offlineimap/offlineimap.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/.offlineimap/offlineimap.py b/.offlineimap/offlineimap.py
index c63b82d..6b2c466 100644
--- a/.offlineimap/offlineimap.py
+++ b/.offlineimap/offlineimap.py
@@ -2,9 +2,11 @@
import os
import subprocess
+
+
def mailpasswd(acct):
acct = os.path.basename(acct)
- path = "/home/urbain/.passwords/%s.asc" % acct
+ path = "/home/urbain/.password-store/Mail/%s.gpg" % acct
args = ["gpg", "--use-agent", "--quiet", "--batch", "-d", path]
try:
return subprocess.check_output(args).strip()