From c031f90cf99e3fce96dd65bcbc9bb288bdbee0d3 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 15 Sep 2012 01:09:12 +0200 Subject: Use --force flag in keepassx import. --- contrib/keepassx2pass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/keepassx2pass.py b/contrib/keepassx2pass.py index 86e2f11..fe7d2d6 100755 --- a/contrib/keepassx2pass.py +++ b/contrib/keepassx2pass.py @@ -13,7 +13,7 @@ def path_for(element, path=''): def import_entry(element, path=''): """ Import new password entry to password-store using pass insert command """ - proc = Popen(['pass', 'insert', path_for(element, path)], + proc = Popen(['pass', 'insert', '--force', path_for(element, path)], stdin=PIPE, stdout=PIPE) proc.communicate(element.find('password').text + "\n") proc.wait() -- cgit v1.2.3