update to add a way to avoid loading parent service classes, that inherit from CoreService that should not be loaded on their own
This commit is contained in:
parent
ac2b64aaaf
commit
c65baa9298
7 changed files with 8 additions and 6 deletions
|
@ -72,6 +72,8 @@ class ServiceManager(object):
|
|||
"""
|
||||
services = utils.load_classes(path, CoreService)
|
||||
for service in services:
|
||||
if not service._name:
|
||||
continue
|
||||
service.on_load()
|
||||
cls.add(service)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue