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
							
								
									2d559d330d
								
							
						
					
					
						commit
						ef6690905e
					
				@ -10,6 +10,7 @@ def create_source_path_directory(source_path):
 | 
			
		||||
    os.makedirs(os.path.dirname(source_path), exist_ok=True)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# TODO: also make this work for archive dir
 | 
			
		||||
def delete_empty_directories(directory):
 | 
			
		||||
    # Go up in the directory hierarchy and try to delete all directories
 | 
			
		||||
    directory = os.path.normpath(directory)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user