mutt-wizard

fork of Luke Smiths mutt-wizard
git clone git://git.jakekoroman.com/mutt-wizard
Log | Files | Refs | README | LICENSE

commit 53ea8511b7bade0de0250efdee87b484cd01f06b
parent f796821828d14f54db550d0a78dd6850d8d8bed0
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Thu, 11 Apr 2019 23:19:53 -0400

pycucks btfo

Diffstat:
Dbin/imappwd.py | 16----------------
1 file changed, 0 insertions(+), 16 deletions(-)

diff --git a/bin/imappwd.py b/bin/imappwd.py @@ -1,16 +0,0 @@ -import os.path -import subprocess -import distutils.spawn -home = os.path.expanduser("~") -def mailpasswd(acct): - acct = os.path.basename(acct) - path = "%s/.local/share/muttwizard/%s.gpg" % (home,acct) - if distutils.spawn.find_executable("gpg"): - GPG="gpg" - else: - GPG="gpg2" - args = [GPG, "--use-agent", "--quiet", "--batch", "-d", path] - try: - return subprocess.check_output(args).strip().decode('UTF-8') - except subprocess.CalledProcessError: - return ""