Change environment variable name: OPAQUE_FILES -> OPAQUE_STORAGE

This commit is contained in:
Patrick Jentsch
2019-08-02 13:23:26 +02:00
parent df7d618b2a
commit d6f60e4267
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ def ocr():
},
'status': 'queued'
}
dir = os.path.join(app.config['OPAQUE_FILES'], 'jobs', id)
dir = os.path.join(app.config['OPAQUE_STORAGE'], 'jobs', id)
try:
os.makedirs(dir)