Fix for image-fill
This commit is contained in:
		
							parent
							
								
									1e8c7c74e5
								
							
						
					
					
						commit
						d7bfb4a231
					
				| 
						 | 
					@ -42,7 +42,7 @@ images = list(image_dir.rglob("*.png")) + \
 | 
				
			||||||
# Generate the img tag for each file
 | 
					# Generate the img tag for each file
 | 
				
			||||||
imgs = []
 | 
					imgs = []
 | 
				
			||||||
for i in images:
 | 
					for i in images:
 | 
				
			||||||
    src = str(i)
 | 
					    src = str(i.relative_to(i.parents[1]))
 | 
				
			||||||
    imgs.append(f'<img src="{src}" />')
 | 
					    imgs.append(f'<img src="{src}" />')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
with FileInput(html_path, inplace=True) as html:
 | 
					with FileInput(html_path, inplace=True) as html:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue