diff --git a/src/splendaq/daq/_log_data.py b/src/splendaq/daq/_log_data.py index 6402ef8..69d7f8c 100644 --- a/src/splendaq/daq/_log_data.py +++ b/src/splendaq/daq/_log_data.py @@ -490,8 +490,7 @@ def log_data(self, duration, savepath='./', comments='', time.sleep(0.5) # Get current progress percentage and check if it's complete progress = self.DL.logging_progress() - remaining_time = progress['time_remaining'] - is_logging = remaining_time > 0 + is_logging = progress['complete'] filenames.append(logfile['file_name'])