Skip to content

Commit

Permalink
typo in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaPoly committed Jun 21, 2023
1 parent 8e789cc commit 38cbe5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantarray_desktop_app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class Filter_System_Status_Logs(logging.Filter):
def filter(self: Filter_System_Status_Logs, record: logging.LogRecord) -> bool:
# log system_status only if not 200
message = record.getMessage()
return not ("system_status" in message and "200" in message)
return not ("system_status" in message and " 200 " in message)


def main(command_line_args: List[str], object_access_for_testing: Optional[Dict[str, Any]] = None) -> None:
Expand Down

0 comments on commit 38cbe5b

Please sign in to comment.