fixes issue related to printing a cloud print again and subtask_name including full path to file, #25
This commit is contained in:
parent
3e7708429d
commit
56e5fb4dd2
@ -183,6 +183,8 @@ class BambuPrinter:
|
|||||||
filename = f"{filename.lower()}.3mf"
|
filename = f"{filename.lower()}.3mf"
|
||||||
elif self._sdFileListCache.get(f"{filename.lower()}.gcode.3mf"):
|
elif self._sdFileListCache.get(f"{filename.lower()}.gcode.3mf"):
|
||||||
filename = f"{filename.lower()}.gcode.3mf"
|
filename = f"{filename.lower()}.gcode.3mf"
|
||||||
|
elif filename.startswith("cache/"):
|
||||||
|
filename = filename[6:]
|
||||||
else:
|
else:
|
||||||
self._logger.debug(f"No 3mf file found for {print_job}")
|
self._logger.debug(f"No 3mf file found for {print_job}")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user