projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e68301a
)
Fix typo
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 18 Mar 2014 13:28:53 +0000
(14:28 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 18 Mar 2014 13:28:53 +0000
(14:28 +0100)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 7e7d1e8b6fc3bcf5f604a51ecf95d8a1f68c2c8f..f60141bd1beaf6b2431fa1856dad053a9319833c 100644
(file)
--- 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(
get
preferredencoding())
+ prompt = prompt.encode(preferredencoding())
return getpass.getpass(prompt, *args, **kwargs)
else:
compat_getpass = getpass.getpass