Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #90 from cisagov/fix/external-categorize
Browse files Browse the repository at this point in the history
fix: external categorize error
  • Loading branch information
zenine07 committed Jan 7, 2022
2 parents c41441d + a0f285f commit 15bbd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dmcli/groups/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def details(domain):
def categorize(domain, email):
"""Categorize a new external domain."""
domain = create_external_domain(domain, email)
if domain["message"]:
if domain.get("message"):
warning_msg(domain["message"])
return
categories = get_categories()
Expand Down

0 comments on commit 15bbd23

Please sign in to comment.