]> git.ipfire.org Git - dbl.git/commitdiff
sources: Accept the third-party option for ABP
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Jan 2026 14:25:23 +0000 (14:25 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Jan 2026 14:25:23 +0000 (14:25 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/dnsbl/sources.py

index df1384f19f0ca3c5a9db1ef3f8658cd6e258ebd1..8258924d8c8b81056d2ebe06d10ee47c64eb945b 100644 (file)
@@ -443,7 +443,7 @@ class Source(sqlmodel.SQLModel, database.BackendMixin, table=True):
                        options = [option.strip() for option in options.split(",")]
 
                        # Remove some options that we know and will ignore
-                       for option in ("all", "important"):
+                       for option in ("all", "important", "third-party"):
                                try:
                                        options.remove(option)
                                except ValueError: