Skip to content

Commit

Permalink
Filter Happy Hare status messages so they don't cause an accidental p…
Browse files Browse the repository at this point in the history
…opup because they contain 'unknown' in the outputgit add screen.py
  • Loading branch information
moggieuk committed Jan 17, 2024
1 parent 5531cb6 commit 3d60370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ def _websocket_callback(self, action, data):
elif data.startswith("!! "):
self.show_popup_message(data[3:], 3)
elif "unknown" in data.lower() and \
not ("TESTZ" in data or "MEASURE_AXES_NOISE" in data or "ACCELEROMETER_QUERY" in data or "MMU" in data or "from Unknown to" in data or "Tool Unknown" in data): # Happy Hare modified
not ("TESTZ" in data or "MEASURE_AXES_NOISE" in data or "ACCELEROMETER_QUERY" in data or "MMU" in data or "TTG Map" or "Gates / Filaments" or "from Unknown to" in data or "Tool Unknown" in data): # Happy Hare modified
if data.startswith("// "):
self.show_popup_message(data[3:])
else:
Expand Down

0 comments on commit 3d60370

Please sign in to comment.