mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	It's exist_ok=, not exists_ok= -- my bad.
This commit is contained in:
		| @@ -48,7 +48,7 @@ class Consumer: | ||||
|         self.consume = consume | ||||
|         self.scratch = scratch | ||||
|  | ||||
|         os.makedirs(self.scratch, exists_ok=True) | ||||
|         os.makedirs(self.scratch, exist_ok=True) | ||||
|  | ||||
|         if not self.consume: | ||||
|             raise ConsumerError( | ||||
|   | ||||
| @@ -81,7 +81,7 @@ class Command(BaseCommand): | ||||
|             raise CommandError(e) | ||||
|  | ||||
|         for d in (self.ORIGINAL_DOCS, self.THUMB_DOCS): | ||||
|             os.makedirs(d, exists_ok=True) | ||||
|             os.makedirs(d, exist_ok=True) | ||||
|  | ||||
|         logging.getLogger(__name__).info( | ||||
|             "Starting document consumer at {}{}".format( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Quinn
					Daniel Quinn