1 parent
524562527e
commit
a24363c4b0
1 file changed
+2
-1
@@ -18,6 +18,7 @@ import octoprint.filemanager.util
|
||||
import octoprint.filemanager.storage
|
||||
import octoprint.slicing
|
||||
|
||||
import os
|
||||
import psutil
|
||||
import hashlib
|
||||
import logging
|
||||
@@ -132,7 +133,7 @@ def readGcodeFilesForOrigin(origin):
|
||||
|
||||
|
||||
def _getFileDetails(origin, path, recursive=True):
|
||||
parent, path = fileManager.split_path(origin, path)
|
||||
parent, path = os.path.split(path)
|
||||
files = _getFileList(origin, path=parent, recursive=recursive)
|
||||
|
||||
for f in files:
|
||||
|
||||
Reference in new issue
Block a user