Skip to content
Browse files

fix old call to handle_outgoing

  • Loading branch information...
1 parent c5c5517 commit 907e92f847fc6c91c470a77d21317fd2f2d2b652 @tobiasmcnulty tobiasmcnulty committed Sep 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rapidsms/messages/outgoing.py
View
4 lib/rapidsms/messages/outgoing.py
@@ -7,7 +7,7 @@
from .base import MessageBase
from ..errors import NoRouterError
from ..conf import settings
-from .router_api import handle_outgoing
+from rapidsms.router.api import send
class OutgoingMessage(MessageBase):
@@ -75,5 +75,5 @@ def send(self):
the new interface for sending messages.
"""
# TODO decide if this API is deprecated and add a deprecation warning if so
- handle_outgoing(self.text, connection=self.connection)
+ send(self.text, connection=self.connection)
self.sent = True

0 comments on commit 907e92f

Please sign in to comment.
Something went wrong with that request. Please try again.