Skip to content

Commit

Permalink
Fix _format_genre()
Browse files Browse the repository at this point in the history
  • Loading branch information
JOJ0 committed Jan 25, 2025
1 parent 27af67a commit a756bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beetsplug/autogenre/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def _genres(self):
return self._genre_tree

def _format_genre(self, genre):
return self._lastgenre._format_tag(genre)
return genre.title() if self._lastgenre_conf.get("title_case") else genre

def _str2list(self, str):
return str and str.split(self._separator) or []
Expand Down

0 comments on commit a756bff

Please sign in to comment.