aboutsummaryrefslogtreecommitdiffstats
path: root/servo/messaging
diff options
context:
space:
mode:
Diffstat (limited to 'servo/messaging')
-rw-r--r--servo/messaging/sms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/servo/messaging/sms.py b/servo/messaging/sms.py
index 352a297..9ba8278 100644
--- a/servo/messaging/sms.py
+++ b/servo/messaging/sms.py
@@ -20,7 +20,7 @@ class BaseSMSProvider:
if len(recipient) < 8:
recipient = '372' + recipient
-
+
recipient = re.sub(r'[\+\s\-]', '', recipient)
self.recipient = recipient.lstrip('+')
self.note = note
@@ -49,7 +49,7 @@ class SMSJazzProvider:
def __init__(self, recipient, note, msg):
if len(recipient) < 8:
recipient = '372' + recipient
-
+
recipient = re.sub(r'[\+\s\-]', '', recipient)
self.recipient = recipient.lstrip('+')
self.note = note