Added plugin helpers, added ssdp/zeroconf browsing in discovery plugin as first helpers

This commit is contained in:
Gina Häußge committed 2014-09-10 22:28:03 +02:00
1 parent 08e4c05129
commit 56b1705df4
4 files changed
+243 -60

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ def afterApiRequests(resp):
def pluginData(name):
api_plugins = octoprint.plugin.plugin_manager().get_implementations(octoprint.plugin.SimpleApiPlugin)
if not name in api_plugins:
return make_response(404)
make_response(404)
api_plugin = api_plugins[name]
response = api_plugin.on_api_get(request)