Merge pull request #63 from PR0M3TH3AN/codex/remove-duplicate-console-output-in-load_json_data

Fix duplicate load message
This commit is contained in:
thePR0M3TH3AN
2025-06-30 13:00:38 -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}")