Moving offlineimap.py to .mutt

This commit is contained in:
Dustin Swan
2013-03-22 22:45:06 -05:00
parent 33cd17860f
commit f53eb2ca21
2 changed files with 1 additions and 1 deletions

9
mutt/offlineimap.py Normal file
View File

@@ -0,0 +1,9 @@
import subprocess
def gmail_password():
path = "/Users/dustinswan/.gmail_password.gpg"
args = ["gpg", "-d", path]
try:
return subprocess.check_output(args).rstrip()
except subprocess.CalledProcessError:
return "".strip()