diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-02-08 22:21:31 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-02-08 22:21:31 +0000 |
commit | d7b565e7de2ca596d81e8b0da15aae6362a2eac7 (patch) | |
tree | c7fcddd25032a663fad148dc6f37426049df3be4 /kbas | |
parent | 07f07f4b3e15fb8c1ce89b2650b86721ec6fcb6d (diff) | |
download | ybd-d7b565e7de2ca596d81e8b0da15aae6362a2eac7.tar.gz |
Gah... missed from b110c853f52ac4f
Diffstat (limited to 'kbas')
-rwxr-xr-x | kbas/__main__.py | 2 |
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) |