Commit bd9fd1b4 authored by Stavros Sachtouris's avatar Stavros Sachtouris Committed by Giorgos Korfiatis
Browse files

Start syncing by default

parent 78042a4b
...@@ -426,7 +426,7 @@ class WebSocketProtocol(WebSocket): ...@@ -426,7 +426,7 @@ class WebSocketProtocol(WebSocket):
self.send_json({'ACCEPTED': 202, 'action': 'post ui_id'}) self.send_json({'ACCEPTED': 202, 'action': 'post ui_id'})
if self.can_sync(): if self.can_sync():
self.init_sync() self.init_sync()
self.pause_sync() self.start_sync()
else: else:
action = r.get('path', 'ui_id') action = r.get('path', 'ui_id')
self.send_json({'REJECTED': 401, 'action': 'post %s' % action}) self.send_json({'REJECTED': 401, 'action': 'post %s' % action})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment