mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-19 09:37:34 +01:00
87a28127d2
_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.