From 29c5e60804a4bc392c64ea113e9d8b081349ce13 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Tue, 20 Jun 2023 13:26:05 -0400 Subject: [PATCH] Fixed password field showing for blank files Former-commit-id: 6d0f8763a7d7ccc4208092fff70fa4795b6d1722 Former-commit-id: 124b80ba9c0596e28ffa7e1a85760236dea345ca --- lib/sshyp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sshyp.py b/lib/sshyp.py index 3bbbe78..bd2a886 100755 --- a/lib/sshyp.py +++ b/lib/sshyp.py @@ -70,7 +70,7 @@ def entry_reader(_decrypted_entry): except IndexError: print() except IndexError: - if _num == 0: + if _num == 0 and _decrypted_entry[0] != '': print(f"\u001b[38;5;15;48;5;238mpassword:\u001b[0m\n{_entry_password}\n")