Skip to content

Commit

Permalink
Module location fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet committed Nov 2, 2024
1 parent 938354e commit 97b0883
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scan/libmailgoose/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from email.message import Message as EmailMessage
from typing import Any, Callable, Dict, List, Optional

import checkdmarc.dmarc
import checkdmarc.smtp
import checkdmarc.utils
import dkim
Expand Down Expand Up @@ -157,7 +158,7 @@ def check_alignment(
tag_value = parsed_dmarc_record["tags"][tag_name]["value"]

if tag_value not in ["r", "s"]:
raise checkdmarc.DMARCSyntaxError(f"Unknown {tag_name} value: {tag_value}.")
raise checkdmarc.dmarc.DMARCSyntaxError(f"Unknown {tag_name} value: {tag_value}.")
relaxed = tag_value == "r"

if relaxed:
Expand Down

0 comments on commit 97b0883

Please sign in to comment.