mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	This commit is contained in:
		
							parent
							
								
									f7e96eab72
								
							
						
					
					
						commit
						6ca389c28a
					
				@ -52,6 +52,11 @@ def move_documents_and_create_thumbnails(apps, schema_editor):
 | 
				
			|||||||
        "\n", opts=("bold",)
 | 
					        "\n", opts=("bold",)
 | 
				
			||||||
    ))
 | 
					    ))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    try:
 | 
				
			||||||
 | 
					        os.makedirs(settings.SCRATCH_DIR)
 | 
				
			||||||
 | 
					    except FileExistsError:
 | 
				
			||||||
 | 
					        pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for f in sorted(documents):
 | 
					    for f in sorted(documents):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if not f.endswith("gpg"):
 | 
					        if not f.endswith("gpg"):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user