Fixed bug that caused SSDP discovery not to work anymore

Blueprint was protected by API key which lead to the discovery.xml
file not being retrievable.
This commit is contained in:
Gina Häußge 2015-01-01 01:52:41 +01:00
parent c9c4066331
commit 3d5fdf2a91

View file

@ -152,6 +152,9 @@ class DiscoveryPlugin(octoprint.plugin.StartupPlugin,
def get_blueprint(self):
return blueprint
def is_blueprint_protected(self):
return False
##~~ StartupPlugin API -- used for registering OctoPrint's Zeroconf and SSDP services upon application startup
def on_startup(self, host, port):