fix issue with last PR that broke the ability to recognize currently printing file.
This commit is contained in:
jneilliii
2024-02-12 21:35:09 -05:00
parent ff58636e41
commit 3d0cc26147
2 changed files with 2 additions and 3 deletions

View File

@ -171,8 +171,7 @@ class BambuPrinter:
self._sdPrintingPausedSemaphore.clear()
self._sdPrintStarting = False
if not self._sdPrinting:
filename = print_job.get("gcode_file")
# TODO: swap this out to use 8 dot 3 name based on long name/path
filename = print_job.get("subtask_name")
self._selectSdFile(filename)
self._startSdPrint(from_printer=True)