Show .gcode .gco and .g files in the SD file list
(cherry picked from commit e91b103)
This commit is contained in:
parent
f480e29342
commit
88bc0b7a92
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue