prevent nonexistent files in collate hints
This commit is contained in:
		
							parent
							
								
									2ab99c9a4b
								
							
						
					
					
						commit
						01f5955844
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -180,7 +180,7 @@ def collate(args): | ||||||
| 
 | 
 | ||||||
|         if work_id in hint_map: |         if work_id in hint_map: | ||||||
|             hint = hint_map[work_id] |             hint = hint_map[work_id] | ||||||
|             entries = ls_ignore(hint) if hint.is_dir() else [hint] |             entries = [hint] if hint.is_file() else ls_ignore(hint) | ||||||
|         else: |         else: | ||||||
|             search_dir = work_path |             search_dir = work_path | ||||||
|             while True: |             while True: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue