Show .gcode .gco and .g files in the SD file list

(cherry picked from commit e91b103)
This commit is contained in:
Mark Walker 2015-03-30 23:51:58 +02:00 committed by Gina Häußge
parent f480e29342
commit 88bc0b7a92

View file

@ -838,7 +838,7 @@ class MachineCom(object):
filename = preprocessed_line
size = None
if valid_file_type(filename, "gcode"):
if valid_file_type(filename, "machinecode"):
if filter_non_ascii(filename):
self._logger.warn("Got a file from printer's SD that has a non-ascii filename (%s), that shouldn't happen according to the protocol" % filename)
else: