Relax missing index log

This commit is contained in:
thePR0M3TH3AN
2025-07-06 19:03:50 -04:00
parent 323fd640f2
commit a8f95c9361

View File

@@ -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