mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
It's exist_ok=, not exists_ok= -- my bad.
This commit is contained in:
parent
9c583fe9f3
commit
81a8cb45d7
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user