mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[extractor/common] PEP8
This commit is contained in:
parent
36f3542883
commit
c3415d1bac
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue