mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 15:58:48 +00:00
Merge pull request #338 from PR0M3TH3AN/codex/fix-missing-index-file-after-seed-import
Fix missing index error noise
This commit is contained in:
@@ -376,14 +376,10 @@ class EncryptionManager:
|
|||||||
try:
|
try:
|
||||||
relative_path = Path("seedpass_entries_db.json.enc")
|
relative_path = Path("seedpass_entries_db.json.enc")
|
||||||
if not (self.fingerprint_dir / relative_path).exists():
|
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}'."
|
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
|
return None
|
||||||
|
|
||||||
file_path = self.fingerprint_dir / relative_path
|
file_path = self.fingerprint_dir / relative_path
|
||||||
|
Reference in New Issue
Block a user