Merge pull request #2116 from filips123/patch-2
Add response to some commands
This commit is contained in:
commit
08b7034d6f
1 changed files with 4 additions and 0 deletions
|
@ -362,6 +362,8 @@ class UiWebsocket(object):
|
|||
if channel not in self.channels:
|
||||
self.channels.append(channel)
|
||||
|
||||
self.response(to, "ok")
|
||||
|
||||
# Server variables
|
||||
def actionServerInfo(self, to):
|
||||
back = self.formatServerInfo()
|
||||
|
@ -878,6 +880,8 @@ class UiWebsocket(object):
|
|||
if self not in site.websockets:
|
||||
site.websockets.append(self)
|
||||
|
||||
self.response(to, "ok")
|
||||
|
||||
# Update site content.json
|
||||
def actionSiteUpdate(self, to, address, check_files=False, since=None, announce=False):
|
||||
def updateThread():
|
||||
|
|
Loading…
Reference in a new issue