Better handling on terms from external files.

This commit is contained in:
José Manuel Barroso Galindo
2025-06-02 22:14:11 +02:00
committed by GitHub
parent 44218d3414
commit fab9d44f17

View File

@@ -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}