Skip to content

Commit

Permalink
set order of file preprocessor hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jneilliii committed Nov 26, 2023
1 parent f28bbfe commit aa3199c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Install manually using this URL:

## Known Issues/Plugin Conflicts

- SlicerEstimator: `UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 1: invalid start byte`
- ~~SlicerEstimator: `UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 1: invalid start byte`~~ resolved by setting hook order
- DisplayLayerProgress: `Layer indicator not found in file`

---
Expand Down
2 changes: 1 addition & 1 deletion octoprint_bgcode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ def __plugin_load__():
__plugin_hooks__ = {
"octoprint.plugin.softwareupdate.check_config": __plugin_implementation__.get_update_information,
"octoprint.filemanager.extension_tree": __plugin_implementation__.get_extension_tree,
"octoprint.filemanager.preprocessor": __plugin_implementation__.bgcode_upload,
"octoprint.filemanager.preprocessor": (__plugin_implementation__.bgcode_upload, 1),
"octoprint.server.http.routes": __plugin_implementation__.route_hook
}
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 = "BGCode"

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

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

Please sign in to comment.