diff --git a/AUTHORS.md b/AUTHORS.md index 0a1a26c5..55d2b49f 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -56,6 +56,7 @@ date of first contribution): * [Mark Bastiaans](https://github.com/markbastiaans) * [Marcel Hellwig](https://github.com/punkkeks) * [Kevin Murphy](https://github.com/kevingelion) + * [Richard Joyce](https://github.com/richjoyce) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/src/octoprint/plugin/__init__.py b/src/octoprint/plugin/__init__.py index ddeec697..fa6810e2 100644 --- a/src/octoprint/plugin/__init__.py +++ b/src/octoprint/plugin/__init__.py @@ -368,7 +368,7 @@ class PluginSettings(object): set_int =("setInt", prefix_path_in_args, add_setter_kwargs), set_float =("setFloat", prefix_path_in_args, add_setter_kwargs), set_boolean=("setBoolean", prefix_path_in_args, add_setter_kwargs), - remove =("remove", prefix_path_in_args) + remove =("remove", prefix_path_in_args, lambda x: x) ) self.deprecated_access_methods = dict( getInt ="get_int",