Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
agkyra
Commits
bd9fd1b4
Commit
bd9fd1b4
authored
Jun 02, 2015
by
Stavros Sachtouris
Committed by
Giorgos Korfiatis
Oct 19, 2015
Browse files
Start syncing by default
parent
78042a4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
agkyra/protocol.py
View file @
bd9fd1b4
...
...
@@ -426,7 +426,7 @@ class WebSocketProtocol(WebSocket):
self
.
send_json
({
'ACCEPTED'
:
202
,
'action'
:
'post ui_id'
})
if
self
.
can_sync
():
self
.
init_sync
()
self
.
pause
_sync
()
self
.
start
_sync
()
else
:
action
=
r
.
get
(
'path'
,
'ui_id'
)
self
.
send_json
({
'REJECTED'
:
401
,
'action'
:
'post %s'
%
action
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment