[snotr] PEP8 and minor fixes (#3296)
This commit is contained in:
parent
199ece7eb8
commit
9732d77ed2
4 changed files with 41 additions and 42 deletions
|
@ -1197,6 +1197,10 @@ class YoutubeDL(object):
|
|||
if res:
|
||||
res += ', '
|
||||
res += format_bytes(fdict['filesize'])
|
||||
elif fdict.get('filesize_approx') is not None:
|
||||
if res:
|
||||
res += ', '
|
||||
res += '~' + format_bytes(fdict['filesize_approx'])
|
||||
return res
|
||||
|
||||
def list_formats(self, info_dict):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue