[cleanup] Misc

This commit is contained in:
pukkandan
2022-09-10 03:46:54 +05:30
parent 941e881e1f
commit deae7c1711
5 changed files with 15 additions and 11 deletions

View File

@@ -121,7 +121,7 @@ class FileDownloader:
if time.hours > 99:
return '--:--:--'
if not time.hours:
return '%02d:%02d' % time[1:-1]
return ' %02d:%02d' % time[1:-1]
return '%02d:%02d:%02d' % time[:-1]
format_eta = format_seconds