Trim sd filenames

This commit is contained in:
Gina Häußge 2013-06-09 18:53:23 +02:00
parent 97bdc41370
commit b099bb443b

View file

@ -593,7 +593,7 @@ class MachineCom(object):
##~~ 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 self._sdFileList and not 'End file list' in line:
self._sdFiles.append(line.lower())
self._sdFiles.append(line.trim().lower())
continue
##~~ Temperature processing