Fixed flake 8 error
This commit is contained in:
parent
ec0fc33117
commit
72c9753d18
@ -906,7 +906,7 @@ class InfoExtractor(object):
|
||||
except TypeError as ve:
|
||||
errmsg = '%s: Failed to download due to geo location restrictions' % video_id
|
||||
if fatal:
|
||||
raise ExtractorErro(errmsg, cause=ve)
|
||||
raise ExtractorError(errmsg, cause=ve)
|
||||
else:
|
||||
self.report_warning(errmsg + str(ve))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user