mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 18:22:40 -04:00 
			
		
		
		
	Removed duplicate check if instance.filename
This commit is contained in:
		
							parent
							
								
									bcff75433c
								
							
						
					
					
						commit
						ec3607cf1f
					
				| @ -416,8 +416,7 @@ def update_filename(sender, instance, **kwargs): | ||||
|     new_filename = instance.generate_source_filename() | ||||
| 
 | ||||
|     # If the filename is the same, then nothing needs to be done | ||||
|     if instance.filename is None or \ | ||||
|        instance.filename == new_filename: | ||||
|     if instance.filename == new_filename: | ||||
|         return | ||||
| 
 | ||||
|     # Check if filename needs changing | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user