Fixed flake 8 error

This commit is contained in:
senaps 2020-07-24 06:24:49 +04:30
parent ec0fc33117
commit 72c9753d18

View File

@ -906,7 +906,7 @@ class InfoExtractor(object):
except TypeError as ve: except TypeError as ve:
errmsg = '%s: Failed to download due to geo location restrictions' % video_id errmsg = '%s: Failed to download due to geo location restrictions' % video_id
if fatal: if fatal:
raise ExtractorErro(errmsg, cause=ve) raise ExtractorError(errmsg, cause=ve)
else: else:
self.report_warning(errmsg + str(ve)) self.report_warning(errmsg + str(ve))