Skip to content

Commit

Permalink
4.0.6
Browse files Browse the repository at this point in the history
add ping to presetup events to avoid disconnect from socket
  • Loading branch information
jneilliii authored Mar 15, 2023
2 parents 09d4828 + 422d235 commit ba6a910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion octoprint_simplyprint/websocket/simplyprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
]
PRE_SETUP_EVENTS = [
"connection", "state_change", "shutdown", "machine_data", "keepalive",
"firmware", "installed_plugins", "firmware_warning"
"firmware", "installed_plugins", "firmware_warning", "ping"
]

class SimplyPrintWebsocket:
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 @@

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
# Remember to bump the version in octoprint_simplyprint/__init__.py as well
plugin_version = "4.0.5"
plugin_version = "4.0.6"

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

Please sign in to comment.