Skip to content

Commit

Permalink
fix bug status checker
Browse files Browse the repository at this point in the history
  • Loading branch information
isXander committed Jul 20, 2022
1 parent 40d1893 commit d92df18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_bug_fixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
json_response = response.json()

fields = json_response['fields']
resolution_id = fields['resolution']['id'] if 'resolution' in fields and fields['resolution'] is not None else -1
resolution_id = int(fields['resolution']['id']) if fields['resolution'] is not None else -1

resolved = resolution_id == 1
fix_versions = []
Expand Down

0 comments on commit d92df18

Please sign in to comment.