From 3797d49367161f370bc62224b3c76eefb1a68ba7 Mon Sep 17 00:00:00 2001 From: pirahnasa Date: Wed, 4 Dec 2024 08:53:23 +0100 Subject: [PATCH] fix comment about const --- agent/subfinder_agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agent/subfinder_agent.py b/agent/subfinder_agent.py index 7a3288b..146f225 100644 --- a/agent/subfinder_agent.py +++ b/agent/subfinder_agent.py @@ -23,11 +23,12 @@ ) logger = logging.getLogger(__name__) STORAGE_NAME = "agent_subfinder_storage" +CONFIG_PATH = "/root/.config/subfinder/provider-config.yaml" def _update_provider_config( virustotal_key: str, - config_path: str = "/root/.config/subfinder/provider-config.yaml", + config_path: str = CONFIG_PATH, ) -> None: """Update the Subfinder provider configuration file with the VirusTotal API key.""" yaml = YAML(typ="safe")