strip, not trim
parent
b099bb443b
commit
8917d2e607
|
@ -593,7 +593,7 @@ class MachineCom(object):
|
||||||
##~~ SD file list
|
##~~ SD file list
|
||||||
# if we are currently receiving an sd file list, each line is just a filename, so just read it and abort processing
|
# if we are currently receiving an sd file list, each line is just a filename, so just read it and abort processing
|
||||||
if self._sdFileList and not 'End file list' in line:
|
if self._sdFileList and not 'End file list' in line:
|
||||||
self._sdFiles.append(line.trim().lower())
|
self._sdFiles.append(line.strip().lower())
|
||||||
continue
|
continue
|
||||||
|
|
||||||
##~~ Temperature processing
|
##~~ Temperature processing
|
||||||
|
|
Loading…
Reference in New Issue