youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit f2dbc54066f56a98c689099b920e6a596d4ffdfc
parent 86be82610c35a684bee97b22c8d9a2a83bab1bba
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue,  6 Oct 2015 22:02:28 +0600

[compat] Fix wrong lines/columns order

stty size is rows x columns

Diffstat:
Myoutube_dl/compat.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py @@ -434,7 +434,7 @@ else: ['stty', 'size'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = sp.communicate() - _columns, _lines = map(int, out.split()) + _lines, _columns = map(int, out.split()) except Exception: _columns, _lines = _terminal_size(*fallback)