mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
fix blank line in terminal output
This commit is contained in:
parent
d28a2abe07
commit
ff7ef4c09a
@ -278,6 +278,7 @@ def download_urls(urls, title, ext, total_size, output_dir = '.', refer = None,
|
||||
if total_size:
|
||||
if not force and os.path.exists(filepath) and os.path.getsize(filepath) >= total_size * 0.9:
|
||||
print('Skipping %s: file already exists' % tr(filepath))
|
||||
print()
|
||||
return
|
||||
bar = SimpleProgressBar(total_size, len(urls))
|
||||
else:
|
||||
@ -300,6 +301,7 @@ def download_urls(urls, title, ext, total_size, output_dir = '.', refer = None,
|
||||
url_save(url, filepath, bar, refer = refer, is_part = True)
|
||||
bar.done()
|
||||
if not merge:
|
||||
print()
|
||||
return
|
||||
if ext == 'flv':
|
||||
from .processor.merge_flv import concat_flvs
|
||||
@ -313,6 +315,8 @@ def download_urls(urls, title, ext, total_size, output_dir = '.', refer = None,
|
||||
os.remove(flv)
|
||||
else:
|
||||
print("Can't merge %s files" % ext)
|
||||
|
||||
print()
|
||||
|
||||
def playlist_not_supported(name):
|
||||
def f(*args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user