This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
Fix stty detection
rtmp_test
Philipp Hagemeister
13 years ago
parent
fe6dc08b79
commit
eb0387a848
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube-dl
+ 1
- 1
youtube-dl
View File
@ -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
Write
Preview
Loading…
Cancel
Save