Refactor ServerUplinkConnector.send() signature

This commit is contained in:
Kristóf Tóth
2018-04-12 15:11:52 +02:00
parent b8cdb30318
commit d04479157d
5 changed files with 15 additions and 15 deletions

View File

@ -70,8 +70,8 @@ class WebideReloadWatchdogEventHandler(FileSystemWatchdogEventHandler):
self.ignore = self.ignore - 1
return
LOG.debug(event)
key = 'webide'
self.uplink.send(key, {'data': {'command': 'reload'}})
self.uplink.send({'key': 'webide',
'data': {'command': 'reload'}})
def with_monitor_paused(fun):