'Helper method for loading and sending to the comm channel
dedicated to connection messages.
Args:
message (str): A message to send to the connect channel.'

def _send_to_connect_channel(self, message):

    global _CONNECT_CHANNEL
    if (not _CONNECT_CHANNEL):
        try:
            _CONNECT_CHANNEL = ChannelDB.objects.filter(db_key=settings.DEFAULT_CHANNELS[1]['key'])[0]
        except Exception:
            logger.log_trace()
    now = timezone.now()
    now = ('%02i-%02i-%02i(%02i:%02i)' % (now.year, now.month, now.day, now.hour, now.minute))
    if _CONNECT_CHANNEL:
        _CONNECT_CHANNEL.tempmsg(('[%s,    %s]:    %s' % (_CONNECT_CHANNEL.key, now, message)))
    else:
        logger.log_info(('[%s]:    %s' % (now, message)))
