mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	todo note
This commit is contained in:
		
							parent
							
								
									fca8576d80
								
							
						
					
					
						commit
						a9f1766d1c
					
				@ -151,6 +151,9 @@ class Command(BaseCommand):
 | 
			
		||||
                shutil.copy2(thumbnail_path, document.thumbnail_path)
 | 
			
		||||
                if archive_path:
 | 
			
		||||
                    create_source_path_directory(document.archive_path)
 | 
			
		||||
                    # TODO: this assumes that the export is valid and
 | 
			
		||||
                    #  archive_filename is present on all documents with
 | 
			
		||||
                    #  archived files
 | 
			
		||||
                    shutil.copy2(archive_path, document.archive_path)
 | 
			
		||||
 | 
			
		||||
            document.save()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user