diff options
Diffstat (limited to 'LightInstallation.py')
-rw-r--r-- | LightInstallation.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LightInstallation.py b/LightInstallation.py index b1ad90e..b54a892 100644 --- a/LightInstallation.py +++ b/LightInstallation.py @@ -98,6 +98,8 @@ class LightInstallation(object): def registerComponents(self, components): for component in components: + cid = compReg.registerComponent(component) + main_log.debug(cid + ' registered') cid = component['Id'] if cid == None: #TODO: determine if componenent is critical, and if so, die main_log.error('Components must be registered with Ids. Component not registered') @@ -119,7 +121,7 @@ class LightInstallation(object): exec('from ' + module+'.'+className + ' import *') main_log.debug(module +'.' +className + 'imported') except Exception as inst: - main_log.error('Error importing ' + module+'.'+'.className. Component not\ + main_log.error('Error importing ' + module+'.'+className+ '. Component not\ initialized.') main_log.error(str(inst)) continue |