From d9fe81cc8d5899b540397386d4145b184b3b8c4b Mon Sep 17 00:00:00 2001 From: Ty Fiero Date: Sat, 10 Feb 2024 21:34:04 -0800 Subject: [PATCH] Comment out some of the kernel filter code. --- OS/01/utils/kernel.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/OS/01/utils/kernel.py b/OS/01/utils/kernel.py index 7f1bb3c..d7be2ba 100644 --- a/OS/01/utils/kernel.py +++ b/OS/01/utils/kernel.py @@ -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