summaryrefslogtreecommitdiffstats
path: root/offlineimap.py
diff options
context:
space:
mode:
Diffstat (limited to 'offlineimap.py')
-rw-r--r--offlineimap.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/offlineimap.py b/offlineimap.py
new file mode 100644
index 0000000..9a64c0c
--- /dev/null
+++ b/offlineimap.py
@@ -0,0 +1,7 @@
+#!/usr/bin/env python2
+# -*- coding: utf-8 -*-
+
+from subprocess import check_output
+
+def get_pass(account):
+ return check_output("pass Email/" + account, shell=True).splitlines()[0]