Permalink
Browse files

Rename Clickatell's user -> username

  • Loading branch information...
1 parent 05dcb60 commit ad3cae8f81c8b107f215153b766c476db095620a @mludvig committed Feb 19, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Sms/Engines/Clickatell.py
  2. +1 −1 sms-cli.conf.template
@@ -7,7 +7,7 @@
import GenericHttp
class SmsDriver(GenericHttp.SmsDriver):
- url_pattern = "https://api.clickatell.com/http/sendmsg?api_id=%(api_id)s&user=%(user)s&password=%(password)s&to=%(recipient)s&text=%(message)s"
+ url_pattern = "https://api.clickatell.com/http/sendmsg?api_id=%(api_id)s&user=%(username)s&password=%(password)s&to=%(recipient)s&text=%(message)s"
def sendOne(self, message, recipient):
debug("Clickatell.sendOne(%s)" % recipient)
@@ -10,7 +10,7 @@ url_pattern = "https://sms.provider.com/http/sendmsg?user=XXXXX&password=XXXXX&t
[clickatell]
## Clickatell gateway - http://clickatell.com
engine = "Clickatell"
-user = "XXXXX"
+username = "XXXXX"
password = "XXXXX"
api_id = "XXXXX"
## Optional parameters

0 comments on commit ad3cae8

Please sign in to comment.