From 85eafe1c11976af64959f533be50311203080192 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 23 Jan 2021 18:55:05 +0800 Subject: [PATCH] bugfi --- kivyblocks/osc_server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kivyblocks/osc_server.py b/kivyblocks/osc_server.py index 3e1326f..5878c2a 100644 --- a/kivyblocks/osc_server.py +++ b/kivyblocks/osc_server.py @@ -26,8 +26,10 @@ class OSCServer(EventDispatcher): self.osc_server.bind(bstr, api_f) def info(self): + ip,port = self.osc_server.getaddress() return { - "address":self.osc_server.getaddress() + "ip":ip, + "port":port } def stop(self):