Show .gcode .gco and .g files in the SD file list
This commit is contained in:
1 parent
86cd162784
commit
e91b1035fa
1 file changed
+1
-1
@@ -836,7 +836,7 @@ class MachineCom(object):
|
|||||||
filename = preprocessed_line
|
filename = preprocessed_line
|
||||||
size = None
|
size = None
|
||||||
|
|
||||||
if valid_file_type(filename, "gcode"):
|
if valid_file_type(filename, "machinecode"):
|
||||||
if filter_non_ascii(filename):
|
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)
|
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:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user