Check also webp
This commit is contained in:
		
					parent
					
						
							
								3569effefe
							
						
					
				
			
			
				commit
				
					
						c77cc776be
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -2,7 +2,7 @@ | ||||||
| 
 | 
 | ||||||
| import argparse | import argparse | ||||||
| from datetime import date, timedelta, datetime | from datetime import date, timedelta, datetime | ||||||
| from pathlib import Path | from wcmatch.pathlib import Path | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def get_week_start_end(year, week): | def get_week_start_end(year, week): | ||||||
|  | @ -31,7 +31,7 @@ def main(): | ||||||
|     options = parser.parse_args() |     options = parser.parse_args() | ||||||
| 
 | 
 | ||||||
|     data_path = Path(options.path) |     data_path = Path(options.path) | ||||||
|     images = data_path.glob("*.png") |     images = data_path.glob(['*.png', '*.webp']) | ||||||
| 
 | 
 | ||||||
|     base_dir = Path(options.base_dir) |     base_dir = Path(options.base_dir) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue