From b9bc6cbb9ca4992056fa91da8cb59d3194378c54 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 24 Jan 2017 19:23:35 +0100 Subject: Email --- email/aux/offlineimap.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 email/aux/offlineimap.py (limited to 'email/aux') diff --git a/email/aux/offlineimap.py b/email/aux/offlineimap.py new file mode 100644 index 0000000..8fdfddd --- /dev/null +++ b/email/aux/offlineimap.py @@ -0,0 +1,7 @@ +import subprocess + +def passwd(name): + print("pass '" + name + "'") + return subprocess.\ + check_output("pass '" + name + "'", shell='/bin/bash').\ + splitlines()[0].strip() -- cgit v1.2.3