Commit eb435dea authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Fix computing essentials change

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