mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-06 08:50:07 +01:00
[extractor/common] PEP8
This commit is contained in:
parent
36f3542883
commit
c3415d1bac
@ -373,7 +373,8 @@ def _search_regex(self, pattern, string, name, default=_NO_DEFAULT, fatal=True,
|
||||
else:
|
||||
for p in pattern:
|
||||
mobj = re.search(p, string, flags)
|
||||
if mobj: break
|
||||
if mobj:
|
||||
break
|
||||
|
||||
if os.name != 'nt' and sys.stderr.isatty():
|
||||
_name = u'\033[0;34m%s\033[0m' % name
|
||||
|
Loading…
Reference in New Issue
Block a user