1
0

network: reintroduce network.debug (#5093)

network.debug and interface.debug were removed during the asyncio-aiorpcx
network-rewrite.
This commit is contained in:
ghost43
2019-02-12 20:23:43 +01:00
committed by GitHub
parent 086372f68a
commit c8562f5362
2 changed files with 27 additions and 2 deletions

View File

@@ -276,6 +276,9 @@ class Network(PrintError):
self.server_queue = None
self.proxy = None
# Dump network messages (all interfaces). Set at runtime from the console.
self.debug = False
self._set_status('disconnected')
def run_from_another_thread(self, coro):