mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 14:45:42 +07:00
[extractor/common] PEP8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user