mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Fix the source file checking
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user