fixes issue related to printing a cloud print again and subtask_name including full path to file, #25

This commit is contained in:
jneilliii 2024-05-12 17:21:53 -04:00
parent 3e7708429d
commit 56e5fb4dd2

View File

@ -183,6 +183,8 @@ class BambuPrinter:
filename = f"{filename.lower()}.3mf"
elif self._sdFileListCache.get(f"{filename.lower()}.gcode.3mf"):
filename = f"{filename.lower()}.gcode.3mf"
elif filename.startswith("cache/"):
filename = filename[6:]
else:
self._logger.debug(f"No 3mf file found for {print_job}")