From 1d262fc93632ad2e6ed41541f50207b31e2d48fc Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 5 Dec 2021 16:41:06 +0700 Subject: [PATCH] fix old status variables for message --- tubearchivist/home/src/download.py | 2 +- tubearchivist/home/src/helper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tubearchivist/home/src/download.py b/tubearchivist/home/src/download.py index 7632475..7e5fc6c 100644 --- a/tubearchivist/home/src/download.py +++ b/tubearchivist/home/src/download.py @@ -591,7 +591,7 @@ class VideoDownloader: except KeyError: message = "" mess_dict = { - "status": "downloading", + "status": "message:download", "level": "info", "title": title, "message": message, diff --git a/tubearchivist/home/src/helper.py b/tubearchivist/home/src/helper.py index aa6fe8a..cf4d54d 100644 --- a/tubearchivist/home/src/helper.py +++ b/tubearchivist/home/src/helper.py @@ -233,7 +233,7 @@ class RedisArchivist: if cache_file: filename = cache_file[0][12:].replace("_", " ").split(".")[0] mess_dict = { - "status": "downloading", + "status": "message:download", "level": "info", "title": "Downloading: " + filename, "message": "",