Browse Source

Fix stty detection

master
Philipp Hagemeister 13 years ago
parent
commit
eb0387a848
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube-dl

2
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

Loading…
Cancel
Save