Skip to content

Commit

Permalink
Rejects were causing status page 500 error
Browse files Browse the repository at this point in the history
  • Loading branch information
devcurmudgeon committed Sep 13, 2016
1 parent 86f8e0b commit e83f8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kbas/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def status():
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',
Expand Down

0 comments on commit e83f8b0

Please sign in to comment.