diff options
author | Camil Staps | 2017-01-24 19:23:35 +0100 |
---|---|---|
committer | Camil Staps | 2017-01-24 19:23:35 +0100 |
commit | b9bc6cbb9ca4992056fa91da8cb59d3194378c54 (patch) | |
tree | bf15c9760fccb103fd46ee6a9be9d954f3c2a3d5 /email/aux/offlineimap.py | |
parent | Stowify repo (diff) |
Email
Diffstat (limited to 'email/aux/offlineimap.py')
-rw-r--r-- | email/aux/offlineimap.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/email/aux/offlineimap.py b/email/aux/offlineimap.py new file mode 100644 index 0000000..8fdfddd --- /dev/null +++ b/email/aux/offlineimap.py @@ -0,0 +1,7 @@ +import subprocess + +def passwd(name): + print("pass '" + name + "'") + return subprocess.\ + check_output("pass '" + name + "'", shell='/bin/bash').\ + splitlines()[0].strip() |