feat: show rating
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
3242418ae6
commit
20b8bf2432
2 changed files with 19 additions and 2 deletions
|
@ -12,3 +12,19 @@ def humanize_tags_from_json(value, default):
|
|||
|
||||
return output
|
||||
return default
|
||||
|
||||
|
||||
def format_rating(value):
|
||||
match value:
|
||||
case "g":
|
||||
# Negative Squared Latin Capital Letter G
|
||||
return "🅶"
|
||||
case "s":
|
||||
# Negative Squared Latin Capital Letter S
|
||||
return "🆂"
|
||||
case "q":
|
||||
# Negative Squared Latin Capital Letter Q
|
||||
return "🆀"
|
||||
case "e":
|
||||
# Negative Squared Latin Capital Letter E
|
||||
return "🅴"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue