mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Removed duplicate check if instance.filename
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Wolf-Bastian Poettner
					Wolf-Bastian Poettner