put newline after generate progress
This commit is contained in:
		
							parent
							
								
									e08daa37f4
								
							
						
					
					
						commit
						35f0c1fffe
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -993,7 +993,7 @@ def generate(args): | |||
|         with open(viewer_dir / 'index.html', 'w') as f: | ||||
|             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): | ||||
|         categorization_dir = site_dir / categorization | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue