Don't hardcode errno constant
authorJakub Wilk <jwilk@jwilk.net>
Sat, 14 May 2016 11:41:41 +0000 (13:41 +0200)
committerJakub Wilk <jwilk@jwilk.net>
Sat, 14 May 2016 11:41:41 +0000 (13:41 +0200)
commit66e7ace17a36ed0f761ae620801e9e27d5c3cb3f
tree9ee5c3a4c0351457b85cf448de590a0a1892ea99
parent98d560f205e6aeddc767844d142b00525a9eaff9
Don't hardcode errno constant

The value of ENOENT is architecture-dependent, so don't assume it's
always 2.
youtube_dl/YoutubeDL.py