aboutsummaryrefslogtreecommitdiffstats
path: root/mutt/offlineimap.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-10-05 16:33:10 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-10-05 16:33:10 +0100
commit9fff448654308b1e1b3d1129c0255544f56c25cc (patch)
treeeda78717611d7a6b2204ba8e9f73af90e69ae90b /mutt/offlineimap.py
initial
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()