mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-04-15 11:34:52 +09:00

_search_regex calls the sys.stderr.isatty() function for unix systems. Py2exe uses a custom Stderr() stream which doesn't have an `isatty()` function, leading to it's crash. Fixes easily with checking that it's a unix system first.