logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 4e6f9aeca167ce49799fd78142ccfd091bb5b143
parent e68301af21310864546b97cee77c720cf307a502
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue, 18 Mar 2014 14:28:53 +0100

Fix typo

Diffstat:

Myoutube_dl/utils.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py @@ -1285,7 +1285,7 @@ def parse_xml(s): if sys.version_info < (3, 0) and sys.platform == 'win32': def compat_getpass(prompt, *args, **kwargs): if isinstance(prompt, compat_str): - prompt = prompt.encode(getpreferredencoding()) + prompt = prompt.encode(preferredencoding()) return getpass.getpass(prompt, *args, **kwargs) else: compat_getpass = getpass.getpass