Commit e83f8b00 authored by Paul Sherwood's avatar Paul Sherwood

Rejects were causing status page 500 error

parent 86f8e0ba
......@@ -104,7 +104,7 @@ class KeyedBinaryArtifactServer(object):
content = [['Started:', started, None]]
content += [['Last upload:', last_upload, None]]
if app.config.get('last-reject'):
content += [['Last reject:', app.config['last-reject', None]]]
content += [['Last reject:', app.config['last-reject'], None]]
content += [['Space:', str(free) + 'GB', None]]
content += [['Artifacts:', str(artifacts), None]]
return template('kbas',
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment