Skip to content

Commit

Permalink
Fix avrdude baudrate override
Browse files Browse the repository at this point in the history
  • Loading branch information
benlye committed Mar 25, 2021
1 parent 8850688 commit 3774bcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion octoprint_firmwareupdater/methods/avrdude.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _flash_avrdude(self, firmware=None, printer_port=None, **kwargs):
avrdude_command = avrdude_command.replace(" -C {conffile} ", " ")

if avrdude_baudrate is not None and avrdude_baudrate != "":
avrdude_command = avrdude_command.replace("{baudrate}", avrdude_baudrate)
avrdude_command = avrdude_command.replace("{baudrate}", str(avrdude_baudrate))
else:
avrdude_command = avrdude_command.replace(" -b {baudrate} ", " ")

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-FirmwareUpdater"

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


# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
Expand Down

0 comments on commit 3774bcc

Please sign in to comment.