fix notification channel for video thumb download

This commit is contained in:
simon 2021-12-05 17:24:57 +07:00
parent a0d5837519
commit 67bde4c7ec
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 2 additions and 2 deletions

View File

@ -183,12 +183,12 @@ class ThumbManager:
progress = f"{counter}/{len(missing_thumbs)}"
if notify:
mess_dict = {
"status": "message:download",
"status": "message:add",
"level": "info",
"title": "Processing Videos",
"message": "Downloading Thumbnails, Progress: " + progress,
}
RedisArchivist().set_message("message:download", mess_dict)
RedisArchivist().set_message("message:add", mess_dict)
if counter % 25 == 0:
print("thumbnail progress: " + progress)