summaryrefslogtreecommitdiff
path: root/kbas
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-02-08 22:21:31 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-02-08 22:21:31 +0000
commitd7b565e7de2ca596d81e8b0da15aae6362a2eac7 (patch)
treec7fcddd25032a663fad148dc6f37426049df3be4 /kbas
parent07f07f4b3e15fb8c1ce89b2650b86721ec6fcb6d (diff)
downloadybd-d7b565e7de2ca596d81e8b0da15aae6362a2eac7.tar.gz
Gah... missed from b110c853f52ac4f
Diffstat (limited to 'kbas')
-rwxr-xr-xkbas/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbas/__main__.py b/kbas/__main__.py
index 2674cac..deaa507 100755
--- a/kbas/__main__.py
+++ b/kbas/__main__.py
@@ -129,7 +129,7 @@ class KeyedBinaryArtifactServer(object):
tempfile.tempdir = app.config['artifact-dir']
tmpdir = tempfile.mkdtemp()
- if True:
+ try:
upload = request.files.get('file')
artifact = os.path.join(tmpdir, cache_id)
upload.save(artifact)