mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 03:26:50 +01:00
Merge branch 'master' into feature/images-as-docs
This commit is contained in:
commit
4a078dcfbc
2 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ if __name__ == "__main__":
|
|||
|
||||
# The runserver and consumer need to have access to the passphrase, so it
|
||||
# must be entered at start time to keep it safe.
|
||||
if "runserver" in sys.argv or "consume" in sys.argv:
|
||||
if "runserver" in sys.argv or "document_consumer" in sys.argv:
|
||||
if not settings.PASSPHRASE:
|
||||
settings.PASSPHRASE = input(
|
||||
"settings.PASSPHRASE is unset. Input passphrase: ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue