Lgndr: Set 'estimate' to 0 before it can be calculated
This commit is contained in:
parent
10b845c0aa
commit
53fba8c705
|
@ -116,6 +116,7 @@ class DLManager(legendary.downloader.mp.manager.DLManager):
|
||||||
rt_hours, runtime = int(runtime // 3600), runtime % 3600
|
rt_hours, runtime = int(runtime // 3600), runtime % 3600
|
||||||
rt_minutes, rt_seconds = int(runtime // 60), int(runtime % 60)
|
rt_minutes, rt_seconds = int(runtime // 60), int(runtime % 60)
|
||||||
else:
|
else:
|
||||||
|
estimate = 0
|
||||||
hours = minutes = seconds = 0
|
hours = minutes = seconds = 0
|
||||||
rt_hours = rt_minutes = rt_seconds = 0
|
rt_hours = rt_minutes = rt_seconds = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue