diff --git a/bumblebee/engine.py b/bumblebee/engine.py index 9a6f68f..8499d2d 100644 --- a/bumblebee/engine.py +++ b/bumblebee/engine.py @@ -3,10 +3,13 @@ import os import time import pkgutil +import logging import importlib import bumblebee.error import bumblebee.modules +log = logging.getLogger(__name__) + try: from ConfigParser import SafeConfigParser except ImportError: @@ -42,6 +45,8 @@ class Module(object): self._configFile.read(cfg) break + if self._configFile is not None and self._configFile.has_section("module-parameters"): + log.debug(self._configFile.items("module-parameters")) self._widgets = [] if widgets: self._widgets = widgets if isinstance(widgets, list) else [widgets]