1. Matthew Schinckel
  2. django-sms-gateway

Commits

Matthew Schinckel  committed 2fb8dee

Still trying to strip of unwanted whitespace.

  • Participants
  • Parent commits a50f1dc
  • Branches default

Comments (0)

Files changed (1)

File sms/models/gateway.py

View file
         else:
             message.status = "Sent"
             message.gateway_message_id = re.match(self.success_format, status_msg).groupdict()['gateway_message_id'].strip()
-            logging.debug("Gateway MSG ID %s" % message.gateway_message_id)
+            logging.debug("Gateway MSG ID %s [%i]" % (message.gateway_message_id, len(message.gateway_message_id))
             message.send_date = datetime.datetime.now()
         
         message.save()