Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
PiranhaSa committed Dec 4, 2024
1 parent 5d62164 commit 1e6da0a
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 @@ -2,7 +2,7 @@

import logging

from ruamel.yaml import YAML
import ruamel.yaml
from rich import logging as rich_logging
import tld
from ostorlab.agent import agent
Expand Down Expand Up @@ -31,7 +31,7 @@ def update_provider_config(
config_path: str = CONFIG_PATH,
) -> None:
"""Update the Subfinder provider configuration file with the VirusTotal API key."""
yaml = YAML(typ="safe")
yaml = ruamel.yaml.YAML(typ="safe")
yaml.default_flow_style = False # Ensure block-style lists
# Load existing configuration or initialize a new one
try:
Expand Down

0 comments on commit 1e6da0a

Please sign in to comment.