mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 15:58:48 +00:00
Merge pull request #62 from PR0M3TH3AN/codex/investigate-redundant-log-messages
Fix duplicate JSON load message
This commit is contained in:
@@ -302,9 +302,6 @@ class EncryptionManager:
|
|||||||
json_content = decrypted_data.decode("utf-8").strip()
|
json_content = decrypted_data.decode("utf-8").strip()
|
||||||
data = json.loads(json_content)
|
data = json.loads(json_content)
|
||||||
logger.debug(f"JSON data loaded and decrypted from '{file_path}': {data}")
|
logger.debug(f"JSON data loaded and decrypted from '{file_path}': {data}")
|
||||||
print(
|
|
||||||
colored(f"JSON data loaded and decrypted from '{file_path}'.", "green")
|
|
||||||
)
|
|
||||||
return data
|
return data
|
||||||
except json.JSONDecodeError as e:
|
except json.JSONDecodeError as e:
|
||||||
logger.error(f"Failed to decode JSON data from '{file_path}': {e}")
|
logger.error(f"Failed to decode JSON data from '{file_path}': {e}")
|
||||||
|
Reference in New Issue
Block a user