Skip to content

Commit

Permalink
uses ==
Browse files Browse the repository at this point in the history
  • Loading branch information
san7890 committed Mar 15, 2024
1 parent 2c464a0 commit 325623e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/od_annotator/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def annotate(raw_output):

print("OpenDream Code Annotations:")
for annotation in re.finditer(annotation_regex, raw_output):
if annotation['errornumber'] is "0000" and annotation['message'] is "Unimplemented proc & var warnings are currently suppressed":
if annotation['errornumber'] == "0000" and annotation['message'] == "Unimplemented proc & var warnings are currently suppressed":
continue # snowflake case, we do need to care about this and it does print in the raw_output earlier but it's a nothingburger to actually annotate and it happens every run for the time being

error_string = f"{annotation['errorcode']}: {annotation['message']}"
Expand Down

0 comments on commit 325623e

Please sign in to comment.