Merge pull request #62 from PR0M3TH3AN/codex/investigate-redundant-log-messages

Fix duplicate JSON load message
This commit is contained in:
thePR0M3TH3AN
2025-06-30 12:46:56 -04:00
committed by GitHub

View File

@@ -302,9 +302,6 @@ class EncryptionManager:
json_content = decrypted_data.decode("utf-8").strip()
data = json.loads(json_content)
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
except json.JSONDecodeError as e:
logger.error(f"Failed to decode JSON data from '{file_path}': {e}")