Show More
@@ -280,10 +280,13 b' class Widget(LoggingConfigurable):' | |||
|
280 | 280 | |
|
281 | 281 | def _should_send_property(self, key, value): |
|
282 | 282 | """Check the property lock (property_lock)""" |
|
283 | if self._send_state_lock > 0: | |
|
283 | if (key == self._property_lock[0] and value == self._property_lock[1]): | |
|
284 | return False | |
|
285 | elif self._send_state_lock > 0: | |
|
284 | 286 | self._states_to_send.add(key) |
|
285 | 287 | return False |
|
286 | return key != self._property_lock[0] or value != self._property_lock[1] | |
|
288 | else: | |
|
289 | return True | |
|
287 | 290 | |
|
288 | 291 | # Event handlers |
|
289 | 292 | @_show_traceback |
General Comments 0
You need to be logged in to leave comments.
Login now