mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
utilities.py: Fix formatting for less than a minute
This commit is contained in:
@@ -60,8 +60,8 @@ def seconds_to_readable_time(seconds) -> str:
|
||||
seconds = int(seconds)
|
||||
time = ""
|
||||
|
||||
if seconds == 0:
|
||||
return "0m "
|
||||
if 0 <= seconds < 60:
|
||||
return "Less than a minute "
|
||||
if seconds < 0:
|
||||
return "Indeterminate time "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user