Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.

Commit b139fd7

Browse files
committed
Merge branch 'develop' into alpha
2 parents 7e8eb50 + c7caaaf commit b139fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BugReporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def load_file(self, file_path):
4242
return
4343

4444
self.bugs = data.get('bugs',dict())
45-
self.build_state = data.get('build_state','passing')
4645
self.bugs_count = data.get('bugs_count',0)
46+
self.build_state = 'failing' if self.bugs_count else 'passing'
4747
self.__update_data__()
4848

4949

0 commit comments

Comments
 (0)