X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fcompat.py;h=192e1c515e568b73e6bb5a42574fada4af511662;hb=f2dbc54066f56a98c689099b920e6a596d4ffdfc;hp=1ba4ab78cc44af89f5ff528d0db979a8dff5f3b8;hpb=86be82610c35a684bee97b22c8d9a2a83bab1bba;p=youtube-dl diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py index 1ba4ab78c..192e1c515 100644 --- 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)