From 3748ab934b469f1b0898eff217a405106487935a Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 15 Jul 2022 13:49:28 -0400 Subject: pass password by value in pp.py --- pp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pp.py b/pp.py index de3cbbe..e12c8cb 100755 --- a/pp.py +++ b/pp.py @@ -39,6 +39,8 @@ if os.path.exists(args.password): with open(args.password,"r") as f: # Stripping this protects against an innocuous newline in the password file. password = f.read().rstrip('\n') +else: + password = args.password #print(f"using password {password}") if args.list: action = "list" -- cgit