Skip to content

Commit

Permalink
Extensions: Fix bad implementation of fileinfo in ratos.py
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Oct 14, 2024
1 parent c3c8d3a commit 05d9691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klippy/ratos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 05d9691

Please sign in to comment.