From 53fba8c705bcc6d889ee41adb1e93c3a22a10f65 Mon Sep 17 00:00:00 2001 From: loathingKernel <142770+loathingKernel@users.noreply.github.com> Date: Sun, 10 Jul 2022 21:58:29 +0300 Subject: [PATCH] Lgndr: Set 'estimate' to 0 before it can be calculated --- rare/lgndr/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rare/lgndr/manager.py b/rare/lgndr/manager.py index 45cdf22f..a8f0bbed 100644 --- a/rare/lgndr/manager.py +++ b/rare/lgndr/manager.py @@ -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