mirror of
				https://github.com/StuffAnThings/qbit_manage.git
				synced 2025-10-31 08:26:29 +08:00 
			
		
		
		
	Bug fix: Incorrect category when missing trailing slash
This commit is contained in:
		
							parent
							
								
									14390b3450
								
							
						
					
					
						commit
						307959cd3c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -293,7 +293,7 @@ class Config: | |||
|         if "cat" in self.data and self.data["cat"] is not None: | ||||
|             cat_path = self.data["cat"] | ||||
|             for cat, save_path in cat_path.items(): | ||||
|                 if save_path == path: | ||||
|                 if os.path.join(save_path, '') == path: | ||||
|                     category = cat | ||||
|                     break | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue