Simplified preferredencoding()
authorArvydas Sidorenko <asido4@gmail.com>
Sun, 1 Jul 2012 16:21:27 +0000 (18:21 +0200)
committerArvydas Sidorenko <asido4@gmail.com>
Sun, 1 Jul 2012 16:21:27 +0000 (18:21 +0200)
commitbae611f216ac7b1f1a24a506da6dffc518d09d5b
tree7e6892f70d10a0ba17528fbc85c595c53438b51d
parentd4e16d3e9736fd4419b8bd2b088b5dec086ae07d
Simplified preferredencoding()

Not sure what is the point to use yield to return encoding, thus
it will simplify the whole function.

Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
youtube_dl/utils.py