Fixed password field showing for blank files

Former-commit-id: 6d0f8763a7d7ccc4208092fff70fa4795b6d1722
Former-commit-id: 124b80ba9c0596e28ffa7e1a85760236dea345ca
This commit is contained in:
2023-06-20 13:26:05 -04:00
parent ba5f118048
commit 29c5e60804
+1 -1
View File
@@ -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")