aboutsummaryrefslogtreecommitdiff
path: root/config/offlineimap/plugin.py
blob: 4366979752cccfb716c77accea95d651f905bd91 (plain)
1
2
3
4
5
#! /usr/bin/env python2
from subprocess import check_output

def get_pass(account):
    return check_output(["pass", "mail/" + account]).splitlines()[0]