Skip to content

Commit 4d287f2

Browse files
committed
FIX cleanup warnings that didnt work
1 parent 484810f commit 4d287f2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/gh/components/DF_tcp_listener/code.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ def stop_server() -> None:
134134
# Load buffered points into Rhino PointCloud
135135
if i_load and not sc.sticky[f'{prefix}_prev_load']:
136136
if not sc.sticky.get(f'{prefix}_server_started', False):
137-
self.AddRuntimeMessage(RML.Warning,
138-
"Please start server here before trying to send data from remote device.")
139-
sc.sticky[f'{prefix}_status_message'] = "Server not started"
137+
sc.sticky[f'{prefix}_status_message'] = "Start Server First!"
140138
else:
141139
raw = sc.sticky.get(f'{prefix}_cloud_buffer_raw', [])
142140
if raw:

src/gh/components/DF_websocket_listener/code.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ def run_server() -> None:
129129
# LOAD buffered PCD on i_load rising edge
130130
if i_load and not sc.sticky[f'{prefix}_prev_load']:
131131
if not sc.sticky.get(f'{prefix}_server'):
132-
self.AddRuntimeMessage(RML.Warning,
133-
"Please start server here before trying to send data from remote device.")
134-
logs.append("Server not started")
132+
logs.append("Start Server First!")
135133
else:
136134
sc.sticky[f'{prefix}_loaded_pcd'] = sc.sticky.get(f'{prefix}_last_pcd')
137135
cnt = len(sc.sticky[f'{prefix}_loaded_pcd']) if sc.sticky[f'{prefix}_loaded_pcd'] else 0

0 commit comments

Comments
 (0)