Ignore:
Timestamp:
13 Sep 2011, 10:15:18 (13 years ago)
Author:
uli
Message:

Add safety belt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/logger.py

    r6624 r6745  
    182182                logger.removeHandler(handler)
    183183            logger = self.logger_setup(logger)
     184        if logger is None:
     185            # It might happen, that we have no logger now.
     186            logger = logging.getLogger(loggername)
    184187        return logger
    185188
Note: See TracChangeset for help on using the changeset viewer.