def start_listening(): if email_received: logger.debug("Sendgrid start listening") email_received.connect(signal_received_email, dispatch_uid="thm_reply") from .utils import invalidate_count_cache message_composed.connect(invalidate_count_cache, dispatch_uid="thm_composed")
def start_listening(): if email_received: logger.debug("Sendgrid start listening") email_received.connect(signal_received_email, dispatch_uid="thm_reply")