Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bugfix
  • Loading branch information
cccs-rs authored Feb 18, 2024
2 parents 2cd0ef8 + 92433f8 commit 95f8b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badlist/badlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def execute(self, request):
"Last updated": badlisted["updated"],
},
heuristic=Heuristic(2, score_map=self.source_score_override, signatures=badlisted["sources"]),
classification=source.get("classification", classification.UNRESTRICTED),
classification=badlisted.get("classification", classification.UNRESTRICTED),
tags={badlisted["tag"]["type"]: [badlisted["tag"]["value"]]},
)

Expand Down

0 comments on commit 95f8b70

Please sign in to comment.