Skip to content

Commit

Permalink
Update badlist.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-rs authored Dec 12, 2024
1 parent 7d05e47 commit 7e2bcdf
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 @@ -22,7 +22,7 @@ def __init__(self, config=None):
# This is a map that allows us to override the default badlist scoring by source
self.source_score_override = {
source_name: int(config["score"])
for source_name, config in self.config.get("updater").items()
for source_name, config in self.config.get("updater", {}).items()
if config.get("type") == "blocklist" and config.get("score")
}

Expand Down

0 comments on commit 7e2bcdf

Please sign in to comment.