Skip to content

Commit

Permalink
Adding Virus_total_key argument
Browse files Browse the repository at this point in the history
  • Loading branch information
PiranhaSa committed Dec 2, 2024
1 parent 7f2634f commit 091a3d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/subfinder_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
STORAGE_NAME = "agent_subfinder_storage"


def update_provider_config(
def _update_provider_config(
virustotal_key: str,
config_path: str = "/root/.config/subfinder/provider-config.yaml",
) -> None:
Expand Down Expand Up @@ -65,7 +65,7 @@ def __init__(
virustotal_key = self.args.get("virustotal_key")
if virustotal_key is not None:
logger.info("Updating configuration with VirusTotal API key.")
update_provider_config(virustotal_key)
_update_provider_config(virustotal_key)

Check warning on line 68 in agent/subfinder_agent.py

View check run for this annotation

Codecov / codecov/patch

agent/subfinder_agent.py#L67-L68

Added lines #L67 - L68 were not covered by tests

agent_persist_mixin.AgentPersistMixin.__init__(self, agent_settings)

Expand Down

0 comments on commit 091a3d4

Please sign in to comment.