From fab9d44f172908ff135cbe2afa5ae7e2d041d023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Barroso=20Galindo?= Date: Mon, 2 Jun 2025 22:14:11 +0200 Subject: [PATCH] Better handling on terms from external files. --- .github/db_operator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/db_operator.py b/.github/db_operator.py index d76207faa..09009327c 100755 --- a/.github/db_operator.py +++ b/.github/db_operator.py @@ -772,6 +772,9 @@ class DatabaseBuilder: tags = self._tags.get_tags_for_file(file) for term in filter_terms: + if not term: + print('WARNING! Empty term found in filter_terms', filter_terms) + continue tags.append(self._tags._use_term(term)) self._files[strfile] = {**description, "tags": tags}