1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-05 00:55:16 +00:00
Files
yt-dlp/youtube_dl/extractor/common.py
Itay Brandes 87a28127d2 _search_regex's "isatty" call fails with Py2exe's
_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.
2013-12-16 21:50:26 +01:00

18 KiB