1
0
mirror of https://github.com/Rhinemann/IoT-Systems.git synced 2026-03-14 20:50:39 +02:00

refactor: ignore spaces in row

This commit is contained in:
ІМ-24 Владислав Коваленко 2026-03-03 15:17:25 +00:00
parent 11c590cf25
commit a52da042ef

View File

@ -16,7 +16,7 @@ class FileReader:
def startReading(self, *args, **kwargs):
self.file = open(self.file_path, newline='')
self.file_reader = reader(self.file)
self.file_reader = reader(self.file, skipinitialspace=True)
file_header = next(self.file_reader)
self.x_idx = file_header.index('X')