Skip to content
Snippets Groups Projects
Commit 9acb8df6 authored by Anael Beutot's avatar Anael Beutot
Browse files

Fix tag

parent 352e6ebc
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,8 @@ class Tag(object):
self.watcher = None
def calculate_value(self):
self._value = self._calculate_value()
# logger.debug('Calculate Tag(%s) = %s', self.name, self._value)
self.value = self._calculate_value()
# logger.debug('Calculate Tag(%s) = %s', self.name, self.value)
def start(self, loop):
"""
......@@ -60,7 +60,7 @@ class Tag(object):
return
if self.refresh is None:
self._value = self._calculate_value()
self.calculate_value()
return
# TODO more sophisticated calculation with event propagation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment