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

(cherry picked from commit e91b103)
This commit is contained in:
Mark Walker authored and Gina Häußge committed 2015-04-13 13:13:36 +02:00
1 parent f480e29342
commit 88bc0b7a92
1 file changed
+1 -1
+1 -1
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: