From: Michael Tremer Date: Sat, 3 Jan 2026 15:12:42 +0000 (+0000) Subject: lists: Initialize the number of total domains when creating a new list X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1180f9d8ffa334b891c42a112c7bc5513d575a07;p=dbl.git lists: Initialize the number of total domains when creating a new list Signed-off-by: Michael Tremer --- diff --git a/src/dnsbl/lists.py b/src/dnsbl/lists.py index 01e429f..18153a7 100644 --- a/src/dnsbl/lists.py +++ b/src/dnsbl/lists.py @@ -356,7 +356,7 @@ class List(sqlmodel.SQLModel, database.BackendMixin, table=True): return self.backend.db.fetch_one(stmt) # Total Domains - total_domains : int + total_domains : int = 0 # Delete!