mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-23 06:35:51 -07:00
Merge 906417c7c5
into 6aabe82035
This commit is contained in:
commit
d6c894e2dd
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class FileDownloader(object):
|
||||||
# already of type unicode()
|
# already of type unicode()
|
||||||
ctypes.windll.kernel32.SetConsoleTitleW(ctypes.c_wchar_p(message))
|
ctypes.windll.kernel32.SetConsoleTitleW(ctypes.c_wchar_p(message))
|
||||||
elif 'TERM' in os.environ:
|
elif 'TERM' in os.environ:
|
||||||
sys.stderr.write('\033]0;%s\007' % message.encode(preferredencoding()))
|
self.to_screen('\033]0;%s\007' % message, skip_eol=True)
|
||||||
|
|
||||||
def fixed_template(self):
|
def fixed_template(self):
|
||||||
"""Checks if the output template is fixed."""
|
"""Checks if the output template is fixed."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue