strip, not trim

master
Gina Häußge 2013-06-09 18:58:03 +02:00
parent b099bb443b
commit 8917d2e607
1 changed files with 1 additions and 1 deletions

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.trim().lower())
self._sdFiles.append(line.strip().lower())
continue
##~~ Temperature processing