This commit is contained in:
jr-k 2024-08-13 15:45:53 +02:00
parent 05f335b105
commit e07dbf81d2

View File

@ -251,7 +251,7 @@ def slugify(value):
def seconds_to_hhmmss(seconds):
seconds = int(seconds)
seconds = int(seconds) if seconds else 0
if not seconds:
return ""
hours = seconds // 3600