diff options
| author | bozo.kopic <bozo.kopic@gmail.com> | 2015-05-12 21:18:32 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo.kopic@gmail.com> | 2020-02-26 00:33:29 +0100 |
| commit | 1e263266388c0b6cd39e09d81513e32aedc4268c (patch) | |
| tree | 129f9d7620892ff9eb50f3738ff38de9155b76d1 /offlineimap/.offlineimap.py | |
.
Diffstat (limited to 'offlineimap/.offlineimap.py')
| -rw-r--r-- | offlineimap/.offlineimap.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/offlineimap/.offlineimap.py b/offlineimap/.offlineimap.py new file mode 100644 index 0000000..0b0ec8f --- /dev/null +++ b/offlineimap/.offlineimap.py @@ -0,0 +1,8 @@ +import subprocess + + +def get_password(name): + p = subprocess.Popen(['pass', name], stdout=subprocess.PIPE) + p.wait() + password = p.stdout.read().strip() + return password |
