0.0.13
use gcode_file instead of subtask_name if it doesn't have 3mf extension
This commit is contained in:
parent
3d0cc26147
commit
cb4b345aa7
@ -172,6 +172,8 @@ class BambuPrinter:
|
||||
self._sdPrintStarting = False
|
||||
if not self._sdPrinting:
|
||||
filename = print_job.get("subtask_name")
|
||||
if filename[-4:].lower() != ".3mf":
|
||||
filename = print_job.get("gcode_file")
|
||||
self._selectSdFile(filename)
|
||||
self._startSdPrint(from_printer=True)
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -14,7 +14,7 @@ plugin_package = "octoprint_bambu_printer"
|
||||
plugin_name = "OctoPrint-BambuPrinter"
|
||||
|
||||
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
|
||||
plugin_version = "0.0.12"
|
||||
plugin_version = "0.0.13"
|
||||
|
||||
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
|
||||
# module
|
||||
|
Loading…
x
Reference in New Issue
Block a user