mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Change environment variable name: OPAQUE_FILES -> OPAQUE_STORAGE
This commit is contained in:
parent
df7d618b2a
commit
d6f60e4267
@ -32,7 +32,7 @@ def ocr():
|
|||||||
},
|
},
|
||||||
'status': 'queued'
|
'status': 'queued'
|
||||||
}
|
}
|
||||||
dir = os.path.join(app.config['OPAQUE_FILES'], 'jobs', id)
|
dir = os.path.join(app.config['OPAQUE_STORAGE'], 'jobs', id)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
os.makedirs(dir)
|
os.makedirs(dir)
|
||||||
|
@ -12,7 +12,7 @@ class Config:
|
|||||||
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
|
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
|
||||||
MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
|
MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
|
||||||
OPAQUE_ADMIN = os.environ.get('OPAQUE_ADMIN')
|
OPAQUE_ADMIN = os.environ.get('OPAQUE_ADMIN')
|
||||||
OPAQUE_FILES = os.environ.get('OPAQUE_FILES')
|
OPAQUE_FILES = os.environ.get('OPAQUE_STORAGE')
|
||||||
OPAQUE_MAIL_SUBJECT_PREFIX = '[Opaque]'
|
OPAQUE_MAIL_SUBJECT_PREFIX = '[Opaque]'
|
||||||
OPAQUE_MAIL_SENDER = 'Opaque Development <dev.opaque@gmail.com>'
|
OPAQUE_MAIL_SENDER = 'Opaque Development <dev.opaque@gmail.com>'
|
||||||
SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
|
SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
|
||||||
|
Loading…
Reference in New Issue
Block a user