Slight optimization of previous PR: use existing variable instead of subscripting.

This commit is contained in:
Charles Haley 2025-07-06 14:33:37 +01:00
parent 84974a9167
commit 7091048e4b

View File

@ -104,7 +104,7 @@ def create_tag_class(category, fm):
dt == 'text')
) and tweaks['categories_use_field_for_author_name'] == 'author_sort'
) or (
cat['datatype'] == 'series' and
dt == 'series' and
tweaks['categories_use_field_for_series_name'] == 'series_sort'
)
):