Commit eb435dea authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Fix computing essentials change

parent 00623d4f
......@@ -421,8 +421,8 @@ class WebSocketProtocol(WebSocket):
def _essentials_changed(self, new_settings):
"""Check if essential settings have changed in new_settings"""
return all([
self.settings[e] == self.settings[e] for e in self.essentials])
return any([
self.settings[e] != new_settings[e] for e in self.essentials])
def _consume_messages(self, max_consumption=10):
"""Update status by consuming and understanding syncer messages"""
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