From 307ba9c2274b575cfdbfa86898218d34d14b6b0c Mon Sep 17 00:00:00 2001 From: Dawn India Date: Wed, 25 Sep 2024 17:02:21 +0530 Subject: [PATCH] Minor fix --- bot/helper/task_utils/status_utils/meta_status.py | 3 +++ bot/helper/task_utils/status_utils/queue_status.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bot/helper/task_utils/status_utils/meta_status.py b/bot/helper/task_utils/status_utils/meta_status.py index 20ea0b7f1e41..dc79b7e6692a 100644 --- a/bot/helper/task_utils/status_utils/meta_status.py +++ b/bot/helper/task_utils/status_utils/meta_status.py @@ -48,6 +48,9 @@ def size(self): def status(self): return MirrorStatus.STATUS_METADATA + def speed(self): + return "0B/s" + def task(self): return self diff --git a/bot/helper/task_utils/status_utils/queue_status.py b/bot/helper/task_utils/status_utils/queue_status.py index 315bf5fd1afc..54ec054bf35c 100644 --- a/bot/helper/task_utils/status_utils/queue_status.py +++ b/bot/helper/task_utils/status_utils/queue_status.py @@ -35,6 +35,9 @@ def status(self): return MirrorStatus.STATUS_QUEUEDL return MirrorStatus.STATUS_QUEUEUP + def speed(self): + return "0B/s" + def task(self): return self