Matthew Schinckel  committed d71e2ba

No such field Message.recipient

  • Participants
  • Parent commits 35de172
  • Branches default

Comments (0)

Files changed (1)

File sms/models/

         if message.recipient_number:
             raw_data[self.recipient_keyword] = message.recipient_number
-            raw_data[self.recipient_keyword] =
+            raise ValueError("A recipient_number must be supplied")
         # We need to see if this message needs to be sent as unicode.
         # Could be smart and try to see if it is a short enough message.
         # Or look for a preference that says if this person may send unicode