[utils] Check for None values in SOCKS proxy
authorYen Chi Hsuan <yan12125@gmail.com>
Tue, 17 May 2016 06:38:15 +0000 (14:38 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Tue, 17 May 2016 06:38:15 +0000 (14:38 +0800)
commitcdd94c2eae6c6f0a627d457c3a73894a62eb86c5
tree7edc593826ce3db121213f895c16c36278368d72
parent36755d9d694f818ce8f367ce7eb41374f194893d
[utils] Check for None values in SOCKS proxy

Originally reported at
https://github.com/rg3/youtube-dl/pull/9287#issuecomment-219617864
youtube_dl/utils.py