From 034110e6fea83a4a8c09247056d1bcace1aa2ac7 Mon Sep 17 00:00:00 2001 From: tcely Date: Fri, 7 Feb 2025 11:42:19 -0500 Subject: [PATCH] Log str output --- tubesync/sync/hooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tubesync/sync/hooks.py b/tubesync/sync/hooks.py index 3d679460..a64688f9 100644 --- a/tubesync/sync/hooks.py +++ b/tubesync/sync/hooks.py @@ -102,7 +102,7 @@ def yt_dlp_progress_hook(event): if status is None: status = ProgressHookStatus(**event) status.register(key, filename, status.filename) - log.info(ProgressHookStatus.status_dict) + log.info(str(ProgressHookStatus.status_dict)) downloaded_bytes = event.get('downloaded_bytes', 0) or 0 total_bytes_estimate = event.get('total_bytes_estimate', 0) or 0 @@ -128,7 +128,7 @@ def yt_dlp_progress_hook(event): if status is None: status = ProgressHookStatus(**event) status.register(key, filename, status.filename) - log.info(ProgressHookStatus.status_dict) + log.info(str(ProgressHookStatus.status_dict)) status.download_progress = 100 total_size_str = event.get('_total_bytes_str', '?').strip()