mirror of
https://github.com/MiSTer-devel/Distribution_MiSTer.git
synced 2026-04-19 03:04:16 +00:00
Better handling on terms from external files.
This commit is contained in:
committed by
GitHub
parent
44218d3414
commit
fab9d44f17
3
.github/db_operator.py
vendored
3
.github/db_operator.py
vendored
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user