summaryrefslogtreecommitdiffstats
path: root/mutt/offlineimap.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
committerMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
commite4640e28c8449eea66392052bfab57ce0cdd27f9 (patch)
tree2be81b55bc37da60599f4e6d434e74a57694962e /mutt/offlineimap.py
first commit
Diffstat (limited to 'mutt/offlineimap.py')
-rw-r--r--mutt/offlineimap.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mutt/offlineimap.py b/mutt/offlineimap.py
new file mode 100644
index 0000000..3bdc780
--- /dev/null
+++ b/mutt/offlineimap.py
@@ -0,0 +1,5 @@
+#!/usr/bin/env python2
+from subprocess import check_output
+
+def get_pass(account):
+ return check_output("pass Email/" + account, shell=True).rstrip()