Skip to content

Commit

Permalink
Fix an error in power output that impacted laser jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
paukstelis committed Sep 20, 2024
1 parent aa79875 commit ccfe8e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion octoprint_latheengraver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ def hook_gcode_queuing(self, comm_instance, phase, cmd, cmd_type, gcode, tags, *
def assemble_command(self, newcmd, assembly):
cmd = newcmd
for key, value in assembly.items():
if value:
if value is not None:
cmd = cmd+" {0}{1:.4f}".format(str(key), value)
return cmd

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 = "LatheEngraver Support"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.0.13"
plugin_version = "1.0.14"

# 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 ccfe8e7

Please sign in to comment.