Fix missing path attribute for sd files on API

This commit is contained in:
Gina Häußge 2016-07-08 15:44:37 +02:00
parent 7909672f51
commit 42e54f0fbc

View file

@ -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)