diff --git a/klippy/ratos.py b/klippy/ratos.py index 1c7f18e9..e4b6cb41 100644 --- a/klippy/ratos.py +++ b/klippy/ratos.py @@ -547,7 +547,7 @@ def get_gcode_file_info(self, filename): try: if filepath not in flist: filepath = files_by_lower[filepath.lower()] - return os.path.join(self.sdcard_dirname, filepath) + return [os.path.join(self.sdcard_dirname, filepath[0]), filepath[1]] except: raise self.printer.command_error("Can not get path for file " + filename)