aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-04-07 22:48:13 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-04-07 22:48:13 +0200
commitb58ddb32bae180dfad240ded5d247cab9a1f2215 (patch)
treeddce4b33f4ffb91745c8d98c792838fc8405403b /youtube_dl/YoutubeDL.py
parentb9e12a814096c9225cedde8e0c7ce2a977e8a668 (diff)
[utils] Completely rewrite Windows output (Fixes #2672)
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rw-r--r--youtube_dl/YoutubeDL.py2
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."""