Skip to content

Commit

Permalink
0.0.13
Browse files Browse the repository at this point in the history
use gcode_file instead of subtask_name if it doesn't have 3mf extension
  • Loading branch information
jneilliii committed Feb 13, 2024
1 parent 3d0cc26 commit cb4b345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions octoprint_bambu_printer/virtual.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def new_update(self, event_type):
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)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
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
Expand Down

0 comments on commit cb4b345

Please sign in to comment.