Comment out some of the kernel filter code.

pull/26/head
Ty Fiero 11 months ago
parent ecf4a9385f
commit d9fe81cc8d

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

Loading…
Cancel
Save