Index: leahi_dialin/utils/data_logger.py =================================================================== diff -u -r126c206228086fbd13e820980c2fbb2fb58131bb -r18c90a1b2b6c7339bdd192a2d2fac32f2b8a35df --- leahi_dialin/utils/data_logger.py (.../data_logger.py) (revision 126c206228086fbd13e820980c2fbb2fb58131bb) +++ leahi_dialin/utils/data_logger.py (.../data_logger.py) (revision 18c90a1b2b6c7339bdd192a2d2fac32f2b8a35df) @@ -38,7 +38,6 @@ """ Logs data to xlsx file @param folder: (str) the destination filepath - """ super().__init__() self.queue = deque() # Thread safe @@ -62,7 +61,6 @@ def add_data(self, data: Tuple): """ - @param data: (Tuple) the data to add to the queue @return: None """ @@ -78,7 +76,6 @@ Called on teach timer event. Logs the data currently in deque @return: None """ - i = 0 while self.queue: module, timestamp, data_name, data_value = self.queue.pop() @@ -117,7 +114,6 @@ @param output_path: (str) the destination output path @return: None """ - Path(self.path_disable_logging).touch() self.logger.debug("Starting data export to {0}".format(output_path)) log_path = os.path.join(self.base_folder, "*Log")