Fix missing path attribute for sd files on API
This commit is contained in:
1 parent
7909672f51
commit
42e54f0fbc
1 file changed
+1
@@ -75,6 +75,7 @@ def _getFileList(origin, path=None, filter=None, recursive=False):
|
||||
file = {
|
||||
"type": "machinecode",
|
||||
"name": sdFile,
|
||||
"path": sdFile,
|
||||
"origin": FileDestinations.SDCARD,
|
||||
"refs": {
|
||||
"resource": url_for(".readGcodeFile", target=FileDestinations.SDCARD, filename=sdFile, _external=True)
|
||||
|
||||
Reference in new issue
Block a user