diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 88f12797c6..52c00186e4 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -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