Get module instance after checking for zeroconf
This commit is contained in:
		
							parent
							
								
									4c3110c27d
								
							
						
					
					
						commit
						7cd781e921
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -406,9 +406,9 @@ class PluginManager(metaclass=Singleton): | |||
|             return | ||||
|         for con in app.connections.values(): | ||||
|             for module in plugin.modules: | ||||
|                 instance, name = module.get_instance(con) | ||||
|                 if not module.zeroconf and con.name == 'Local': | ||||
|                     continue | ||||
|                 instance, name = module.get_instance(con) | ||||
|                 modules.register_single(con, instance, name) | ||||
| 
 | ||||
|                 # If handlers have been registered, register the | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue