Fix missing path attribute for sd files on API
This commit is contained in:
parent
7909672f51
commit
42e54f0fbc
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue