aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-10 01:03:18 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-10 01:03:18 +0600
commit5d583bdf6cff8161e2df87ba1a0c97a943596eab (patch)
tree69a30d4d4a0510ddb9e64af4688bc3ad19a13b9c /youtube_dl/YoutubeDL.py
parent1e501364d5a7f5c99037e6791616ee48989bbaea (diff)
downloadyoutube-dl-5d583bdf6cff8161e2df87ba1a0c97a943596eab.tar.xz
[YoutubeDL] Improve _format_note
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-xyoutube_dl/YoutubeDL.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 2dfdea032..b3391088f 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -1856,7 +1856,9 @@ class YoutubeDL(object):
if fdict.get('vbr') is not None:
res += '%4dk' % fdict['vbr']
if fdict.get('fps') is not None:
- res += ', %sfps' % fdict['fps']
+ if res:
+ res += ', '
+ res += '%sfps' % fdict['fps']
if fdict.get('acodec') is not None:
if res:
res += ', '