diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index 47036a7b6d..2303c6c108 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -83,7 +83,7 @@ categories_use_field_for_author_name = 'author' # Note that the "r'" in front of the { is necessary if there are backslashes # (\ characters) in the template. It doesn't hurt anything to leave it there # even if there aren't any backslashes. -categories_collapsed_name_template = r'{first.sort:shorten(4,"",0)} - {last.sort:shorten(4,"",0)}' +categories_collapsed_name_template = r'{first.sort:shorten(4,,0)} - {last.sort:shorten(4,,0)}' categories_collapsed_rating_template = r'{first.avg_rating:4.2f:ifempty(0)} - {last.avg_rating:4.2f:ifempty(0)}' categories_collapsed_popularity_template = r'{first.count:d} - {last.count:d}'