mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-06 04:42:35 +00:00
Relax missing index log
This commit is contained in:
1 parent
323fd640f2
commit
a8f95c9361
1 file changed
+2
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user