1
0
Fork 0
mirror of synced 2024-06-17 10:04:43 +12:00

Lgndr: Set 'estimate' to 0 before it can be calculated

This commit is contained in:
loathingKernel 2022-07-10 21:58:29 +03:00
parent 10b845c0aa
commit 53fba8c705

View file

@ -116,6 +116,7 @@ class DLManager(legendary.downloader.mp.manager.DLManager):
rt_hours, runtime = int(runtime // 3600), runtime % 3600
rt_minutes, rt_seconds = int(runtime // 60), int(runtime % 60)
else:
estimate = 0
hours = minutes = seconds = 0
rt_hours = rt_minutes = rt_seconds = 0