aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 32bd99e98..3d43355c7 100755
--- 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