From 2eb4a717a5db32b326d725cb7942127a01f549be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 2 May 2018 22:55:45 +0200 Subject: WIP: replace syncemail with netsync --- config/offlineimap/plugin.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 config/offlineimap/plugin.py (limited to 'config/offlineimap/plugin.py') 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] -- cgit v1.2.3