Comment out some of the kernel filter code.

This commit is contained in:
Ty Fiero 2024-02-10 21:34:04 -08:00
parent ecf4a9385f
commit d9fe81cc8d
1 changed files with 6 additions and 5 deletions

View File

@ -29,11 +29,12 @@ def custom_filter(message):
end = message.find('}TO_INTERPRETER}', start)
return message[start:end]
# Check for USB mention
elif 'USB' in message:
return message
# Check for network related keywords
elif any(keyword in message for keyword in ['network', 'IP', 'internet', 'LAN', 'WAN', 'router', 'switch']) and "networkStatusForFlags" not in message:
return message
# elif 'USB' in message:
# return message
# # Check for network related keywords
# elif any(keyword in message for keyword in ['network', 'IP', 'internet', 'LAN', 'WAN', 'router', 'switch']) and "networkStatusForFlags" not in message:
# return message
else:
return None