train my stupid fuckin brain to touch the yubikey
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 24 Jul 2018 00:37:36 +0000 |
parents |
ec4852a72664
|
children |
37b02aa11c8c
|
branches/tags |
(none) |
files |
mutt/offlineimaplinux.py |
Changes
--- a/mutt/offlineimaplinux.py Tue Jul 24 00:34:14 2018 +0000
+++ b/mutt/offlineimaplinux.py Tue Jul 24 00:37:36 2018 +0000
@@ -1,8 +1,9 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
import subprocess
def get_keychain_pass(account=None, command='pass'):
+ print("\nBOOP\n")
full_command = "%s '%s'" % (command, account)
output = subprocess.check_output(full_command, shell=True, stderr=subprocess.STDOUT)
return output.splitlines()[0]