Fix inconsistent use of report_warning

This commit is contained in:
pukkandan
2021-04-16 15:31:10 +05:30
parent 33245766ab
commit 6a39ee13f7
14 changed files with 31 additions and 31 deletions

View File

@@ -312,7 +312,7 @@ class SoundcloudIE(InfoExtractor):
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