diff options
author | Philipp Hagemeister <[email protected]> | 2014-04-07 22:48:13 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-04-07 22:48:13 +0200 |
commit | b58ddb32bae180dfad240ded5d247cab9a1f2215 (patch) | |
tree | ddce4b33f4ffb91745c8d98c792838fc8405403b /youtube_dl/YoutubeDL.py | |
parent | b9e12a814096c9225cedde8e0c7ce2a977e8a668 (diff) | |
download | youtube-dl-b58ddb32bae180dfad240ded5d247cab9a1f2215.tar.gz youtube-dl-b58ddb32bae180dfad240ded5d247cab9a1f2215.zip |
[utils] Completely rewrite Windows output (Fixes #2672)
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rw-r--r-- | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index d011ddeb5..bd7497f85 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -287,7 +287,7 @@ class YoutubeDL(object): return self.to_stdout(message, skip_eol, check_quiet=True) def _write_string(self, s, out=None): - write_string(s, out=out, encoding=self.get_encoding()) + write_string(s, out=out, encoding=self.params.get('encoding')) def to_stdout(self, message, skip_eol=False, check_quiet=False): """Print message to stdout if not in quiet mode.""" |