From 557c761e805d1096e584701157aa5dd1050ab02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 23 May 2017 10:13:04 +0200 Subject: [PATCH] [docs] Fix a typo in the SettingsPlugin docs --- src/octoprint/plugin/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugin/types.py b/src/octoprint/plugin/types.py index c9be6153..5732f3c0 100644 --- a/src/octoprint/plugin/types.py +++ b/src/octoprint/plugin/types.py @@ -1556,7 +1556,7 @@ class SettingsPlugin(OctoPrintPlugin): field="field"), path=dict(to=dict(never=dict(return="return")))) - def get_settings_restricted_path(self): + def get_settings_restricted_paths(self): return dict(admin=[["some", "admin_only", "path"], ["another", "admin_only", "path"], user=[["some", "user_only", "path"],], never=[["path", "to", "never", "return"],])