summaryrefslogtreecommitdiff
path: root/.mutt/offlineimap.py
blob: a885aefbf78dd1b09689c6c1f60af1c252935f13 (plain)
1
2
3
4
5
6
7
#! /usr/bin/env python2
from subprocess import check_output

def get_password(account):
    return check_output("pass " + account, shell=True).splitlines()[0]