mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 06:35:42 +07:00
Fix inconsistent use of report_warning
This commit is contained in:
@@ -312,7 +312,7 @@ def _download_json(self, *args, **kwargs):
|
||||
self._update_client_id()
|
||||
continue
|
||||
elif non_fatal:
|
||||
self._downloader.report_warning(error_to_compat_str(e))
|
||||
self.report_warning(error_to_compat_str(e))
|
||||
return False
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user