mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Fix the source file checking
This commit is contained in:
		
							parent
							
								
									c7876dbbe8
								
							
						
					
					
						commit
						1f145c6cba
					
				@ -77,7 +77,7 @@ class Command(Renderable, BaseCommand):
 | 
			
		||||
                )
 | 
			
		||||
 | 
			
		||||
            doc_file = record["__exported_file_name__"]
 | 
			
		||||
            if not os.path.exists(os.path.join(self.source, doc_file)):
 | 
			
		||||
            if not os.path.exists(doc_file):
 | 
			
		||||
                raise CommandError(
 | 
			
		||||
                    'The manifest file refers to "{}" which does not '
 | 
			
		||||
                    'appear to be in the source directory.'.format(doc_file)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user