mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -04:00
Fixed password field showing for blank files
Former-commit-id: 6d0f8763a7d7ccc4208092fff70fa4795b6d1722 Former-commit-id: 124b80ba9c0596e28ffa7e1a85760236dea345ca
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ def entry_reader(_decrypted_entry):
|
|||||||
except IndexError:
|
except IndexError:
|
||||||
print()
|
print()
|
||||||
except IndexError:
|
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")
|
print(f"\u001b[38;5;15;48;5;238mpassword:\u001b[0m\n{_entry_password}\n")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user