Commit 412a1b24 authored by Mario Hock's avatar Mario Hock

..

parent 4c4f651f
......@@ -143,7 +143,7 @@ def main_loop():
# Display the measurement.
running = ui.display( measurement )
logging_manager.log(measurement)
running &= logging_manager.log(measurement)
# Store the last reading as |old_reading|.
old_reading = new_reading
......
......@@ -287,6 +287,8 @@ class LoggingManager:
if ( self.measurement_logger_enabled ):
self.measurement_logger.log(measurement)
return True
def close(self):
if ( self.measurement_logger_enabled ):
......
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