From 0c26889f6501958826a45cb4e6e9a41b495cb36f Mon Sep 17 00:00:00 2001 From: "Server (Shared Users)" <shmd01.iptime.org> Date: Sun, 8 Dec 2019 08:16:31 +0000 Subject: [PATCH] revise coapclient --- RPi_Client/CoAPthon3/coapclient.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/RPi_Client/CoAPthon3/coapclient.py b/RPi_Client/CoAPthon3/coapclient.py index 6d8fae6..e21d620 100644 --- a/RPi_Client/CoAPthon3/coapclient.py +++ b/RPi_Client/CoAPthon3/coapclient.py @@ -114,10 +114,7 @@ class CoapClient(): response = client.put(path, json.dumps(payload)) print((response.pretty_print())) if json.loads(response.payload)['operate'] == 0: # Postion 계산이 불가능한 경우 - client.stop() - self.clearMyData() - print("RpNode Exit and delete my data in DB") - sys.exit(1) + print("impossible position calculation") except KeyboardInterrupt: print("obtainMyID Stop") -- GitLab