Support since parameter for siteUpdate

This commit is contained in:
shortcutme 2017-01-29 19:02:08 +01:00
parent 1668659ff6
commit 2b389e4e85
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 6 additions and 5 deletions

View file

@ -672,9 +672,9 @@ class UiWebsocket(object):
site.websockets.append(self)
# Update site content.json
def actionSiteUpdate(self, to, address, check_files=False):
def actionSiteUpdate(self, to, address, check_files=False, since=None):
def updateThread():
site.update(check_files=check_files)
site.update(check_files=check_files, since=since)
self.response(to, "Updated")
site = self.server.sites.get(address)