generated from itdominator/Python-With-Gtk-Template
Removing no longer needed logging
This commit is contained in:
parent
f39d1a39f6
commit
bd9a24c007
|
@ -71,7 +71,6 @@ class LogList(Gtk.ListBox):
|
||||||
|
|
||||||
frame.show_all()
|
frame.show_all()
|
||||||
|
|
||||||
logger.debug(f"{lbl_str}:\n{message}")
|
|
||||||
del message
|
del message
|
||||||
del lbl_str
|
del lbl_str
|
||||||
|
|
||||||
|
|
|
@ -80,9 +80,8 @@ class LSPEndpointServer(Singleton):
|
||||||
data = msg.split("CLIENT|")[1].strip()
|
data = msg.split("CLIENT|")[1].strip()
|
||||||
if data:
|
if data:
|
||||||
data_str = base64.b64decode(data.encode("utf-8")).decode("utf-8")
|
data_str = base64.b64decode(data.encode("utf-8")).decode("utf-8")
|
||||||
logger.debug(data_str)
|
|
||||||
|
|
||||||
json_blob = json.loads(data_str)
|
json_blob = json.loads(data_str)
|
||||||
|
|
||||||
event_system.emit(json_blob["method"], (json_blob,))
|
event_system.emit(json_blob["method"], (json_blob,))
|
||||||
|
|
||||||
conn.close()
|
conn.close()
|
||||||
|
@ -148,4 +147,4 @@ class LSPEndpointServer(Singleton):
|
||||||
logger.error("LSP Socket no longer valid.... Removing.")
|
logger.error("LSP Socket no longer valid.... Removing.")
|
||||||
os.unlink(self._ipc_address)
|
os.unlink(self._ipc_address)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error( repr(e) )
|
logger.error( repr(e) )
|
Binary file not shown.
Loading…
Reference in New Issue