Skip to content

Commit 0dadb64

Browse files
committed
fixed message in DoHMixin
1 parent 32f021c commit 0dadb64

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • api_app/analyzers_manager/observable_analyzers/dns

api_app/analyzers_manager/observable_analyzers/dns/doh_mixin.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ def run(self) -> dict:
1919
headers: dict = {"Accept": "application/dns-message"}
2020
query_type: str
2121

22-
@staticmethod
23-
def convert_to_domain(observable: str, classification: str) -> str:
22+
def convert_to_domain(self, observable: str, classification: str) -> str:
2423
if classification == Classification.URL:
25-
logger.debug(f"Mullvad_DNS extracting hostname from URL {observable}")
24+
logger.debug(f"{self} extracting hostname from URL {observable}")
2625
hostname = urlparse(observable).hostname
2726
observable = hostname
2827
return observable

0 commit comments

Comments
 (0)