aboutsummaryrefslogtreecommitdiff
path: root/config/offlineimap/plugin.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-05-02 22:55:45 +0200
committerKarel Kočí <cynerd@email.cz>2018-05-02 22:55:45 +0200
commit2eb4a717a5db32b326d725cb7942127a01f549be (patch)
tree2d0a7f7be785e9fe230cf8e88c22a7b5851bc7f0 /config/offlineimap/plugin.py
parent6c629ee7ac9b386e0e99c35044172e353cae1da3 (diff)
downloadmyconfigs-2eb4a717a5db32b326d725cb7942127a01f549be.tar.gz
myconfigs-2eb4a717a5db32b326d725cb7942127a01f549be.tar.bz2
myconfigs-2eb4a717a5db32b326d725cb7942127a01f549be.zip
WIP: replace syncemail with netsyncnetsync
Diffstat (limited to 'config/offlineimap/plugin.py')
-rw-r--r--config/offlineimap/plugin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/offlineimap/plugin.py b/config/offlineimap/plugin.py
new file mode 100644
index 0000000..4366979
--- /dev/null
+++ b/config/offlineimap/plugin.py
@@ -0,0 +1,5 @@
+#! /usr/bin/env python2
+from subprocess import check_output
+
+def get_pass(account):
+ return check_output(["pass", "mail/" + account]).splitlines()[0]