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