Skip to content

Commit

Permalink
Fixed return value of program on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bubeck committed May 7, 2024
1 parent 064b5ae commit e43a24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def printProblemCounts():
for prio in Prio:
print(f'{problem_count[prio.value]} {prio.name}')

return problem_count[prio.OK.value] > 0
return problem_count[prio.ERR.value] > 0

def iH(record1, record2):
if record1["ceiling_ft"] > record2["floor_ft"] and record1["ceiling_ft"] < record2["ceiling_ft"]:
Expand Down

0 comments on commit e43a24e

Please sign in to comment.