mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 09:11:34 +00:00
Fix stty detection
This commit is contained in:
parent
fe6dc08b79
commit
eb0387a848
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue