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:
parent
11c590cf25
commit
a52da042ef
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user