Log str output

This commit is contained in:
tcely authored and GitHub committed 2025-02-07 11:42:19 -05:00
1 parent f5c832e5ab
commit 034110e6fe
1 file changed
+2 -2
+2 -2
View File
@@ -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()