mirror of
https://github.com/lutris/lutris
synced 2024-11-02 08:20:51 +00:00
Show if game has been played less than a minute
This commit is contained in:
parent
897d568a93
commit
5d3e28aaa9
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,8 @@ def get_formatted_playtime(playtime):
|
|||
formatted_time = " and ".join([text for text in (hours_text, minutes_text) if text])
|
||||
if formatted_time:
|
||||
return formatted_time
|
||||
if playtime:
|
||||
return "Less than a minute"
|
||||
return NO_PLAYTIME
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue