Skip to content

Commit

Permalink
Automatic backup 2024-02-26
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed Feb 27, 2024
1 parent 93c25fe commit f4bec36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rich_tables/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def counts_table(data: List[JSONDict]) -> Table:
map(
format_with_color,
(
"; ".join(x)
.replace("album; compilation", "comp")
("; ".join(x) if isinstance(x, list) else x)
.replace("compilation", "comp")
.replace("dj-mix; broadcast", "dj-mix")
.replace("broadcast; dj-mix", "dj-mix")
).split("; "),
Expand Down

0 comments on commit f4bec36

Please sign in to comment.