put newline after generate progress
This commit is contained in:
parent
e08daa37f4
commit
35f0c1fffe
|
@ -993,7 +993,7 @@ def generate(args):
|
||||||
with open(viewer_dir / 'index.html', 'w') as f:
|
with open(viewer_dir / 'index.html', 'w') as f:
|
||||||
f.write(viewer_template.render(depth=3, work=work, title=work['title']))
|
f.write(viewer_template.render(depth=3, work=work, title=work['title']))
|
||||||
|
|
||||||
print(f'\x1b[2K\r{idx+1}/{len(works)} works processed...', end='')
|
print(f'\x1b[2K\r{idx+1}/{len(works)} works processed...', end=('' if idx+1 < len(works) else '\n'))
|
||||||
|
|
||||||
def make_categorization(categorization, query, work_filter, work_style_cards=False):
|
def make_categorization(categorization, query, work_filter, work_style_cards=False):
|
||||||
categorization_dir = site_dir / categorization
|
categorization_dir = site_dir / categorization
|
||||||
|
|
Loading…
Reference in a new issue