summaryrefslogtreecommitdiff
path: root/kbas.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-09-04 11:16:01 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-09-04 11:16:01 +0000
commit141fca43b7ead2011b4e2b3ae2ee5a1951f68541 (patch)
tree0ea9e592a2e3f7af5db2f4ba57202cbf22bf8aec /kbas.py
parentd87eca37730a1d56b5b8aa407dde6f15cae528c0 (diff)
downloadybd-141fca43b7ead2011b4e2b3ae2ee5a1951f68541.tar.gz
Fix key error on 'artifact-dir' during upload
Diffstat (limited to 'kbas.py')
-rwxr-xr-xkbas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbas.py b/kbas.py
index 7dc3a3a..9bb625b 100755
--- a/kbas.py
+++ b/kbas.py
@@ -77,7 +77,7 @@ class KeyedBinaryArtifactServer(object):
response.status = 405 # method not allowed, this artifact exists
return
- tempfile.tempdir = config['artifact-dir']
+ tempfile.tempdir = app.config['artifact-dir']
tmpdir = tempfile.mkdtemp()
try:
upload = request.files.get('file')