youtube-dl

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

commit eb0387a848d5d349895932dec6d2676adc0ab9c9
parent fe6dc08b79dc6b22fb0750c89df6e08c8f44b586
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Thu, 25 Aug 2011 00:08:59 +0200

Fix stty detection

Diffstat:
Myoutube-dl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube-dl b/youtube-dl @@ -2999,7 +2999,7 @@ def parseOpts(): try: sp = subprocess.Popen(['stty', 'size'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out,err = sp.communicate() - return out.split()[1] + return int(out.split()[1]) except: pass return None