dotfiles/mutt/offlineimap.py

9 lines
168 B
Python
Raw Normal View History

2017-06-19 00:49:00 -04:00
from subprocess import check_output
import os
def get_pass(mailbox):
gpg = [
'pass', 'email/{}'.format(mailbox)
]
return check_output(gpg).strip()