]> git.ipfire.org Git - dbl.git/commitdiff
lists: Actually update all sources
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 20 Feb 2026 16:36:55 +0000 (16:36 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 20 Feb 2026 16:36:55 +0000 (16:36 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/dbl/lists.py

index c73d881c822169ed5ff6ca15dd735c6463012add..33f761676eb316ad8de3b5d9246d490a199d4fb8 100644 (file)
@@ -502,7 +502,7 @@ class List(sqlmodel.SQLModel, database.BackendMixin, table=True):
 
                        # Update all sources
                        for source in self.sources:
-                               if source.update(**kwargs):
+                               if await source.update(**kwargs):
                                        updated = True
 
                        # Update the timestamp if at least one source has actually fetched new data