mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 22:00:00 +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)
|
seconds = int(seconds)
|
||||||
time = ""
|
time = ""
|
||||||
|
|
||||||
if seconds == 0:
|
if 0 <= seconds < 60:
|
||||||
return "0m "
|
return "Less than a minute "
|
||||||
if seconds < 0:
|
if seconds < 0:
|
||||||
return "Indeterminate time "
|
return "Indeterminate time "
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user