Skip to content

Commit

Permalink
Merge pull request #103 from michalgregor/develop
Browse files Browse the repository at this point in the history
Fix #90: runs not displayed using FileStorage when info.json missing.
  • Loading branch information
chovanecm committed Nov 4, 2018
2 parents 235d7d9 + f09433d commit 4f4ebb0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sacredboard/app/data/filestorage/rundao.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ def get(self, run_id):
"""
config = _read_json(_path_to_config(self.directory, run_id))
run = _read_json(_path_to_run(self.directory, run_id))
info = _read_json(_path_to_info(self.directory, run_id))
try:
info = _read_json(_path_to_info(self.directory, run_id))
except IOError:
info = {}

return _create_run(run_id, run, config, info)


Expand Down

0 comments on commit 4f4ebb0

Please sign in to comment.