From a8f95c93610563c576d5267deeba5873cab05d0e Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sun, 6 Jul 2025 19:03:50 -0400 Subject: [PATCH] Relax missing index log --- src/password_manager/encryption.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/password_manager/encryption.py b/src/password_manager/encryption.py index f4457c1..5f6fe1c 100644 --- a/src/password_manager/encryption.py +++ b/src/password_manager/encryption.py @@ -376,14 +376,10 @@ class EncryptionManager: try: relative_path = Path("seedpass_entries_db.json.enc") if not (self.fingerprint_dir / relative_path).exists(): - logger.error( + # Missing index is normal on first run + logger.info( f"Index file '{relative_path}' does not exist in '{self.fingerprint_dir}'." ) - print( - colored( - f"Error: Index file '{relative_path}' does not exist.", "red" - ) - ) return None file_path = self.fingerprint_dir / relative_path