projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[options] Do not decode Unicode on Python 2.x
[youtube-dl]
/
youtube_dl
/
options.py
diff --git
a/youtube_dl/options.py
b/youtube_dl/options.py
index f2e3ad7a17e5af2af4d45f449ae9581af6285ec9..5302b67cc3855ac8c06c21043ff3540cfe2ecf9b 100644
(file)
--- a/
youtube_dl/options.py
+++ b/
youtube_dl/options.py
@@
-812,11
+812,11
@@
def parseOpts(overrideArguments=None):
system_conf = []
user_conf = []
else:
system_conf = []
user_conf = []
else:
- system_conf =
compat_conf(_readOptions('/etc/youtube-dl.conf')
)
+ system_conf =
_readOptions('/etc/youtube-dl.conf'
)
if '--ignore-config' in system_conf:
user_conf = []
else:
if '--ignore-config' in system_conf:
user_conf = []
else:
- user_conf =
compat_conf(_readUserConf()
)
+ user_conf =
_readUserConf(
)
argv = system_conf + user_conf + command_line_conf
opts, args = parser.parse_args(argv)
argv = system_conf + user_conf + command_line_conf
opts, args = parser.parse_args(argv)