Skip to content

Commit

Permalink
Rename Clickatell's user -> username
Browse files Browse the repository at this point in the history
  • Loading branch information
mludvig committed Feb 19, 2012
1 parent 05dcb60 commit ad3cae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sms/Engines/Clickatell.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import GenericHttp import GenericHttp


class SmsDriver(GenericHttp.SmsDriver): 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): def sendOne(self, message, recipient):
debug("Clickatell.sendOne(%s)" % recipient) debug("Clickatell.sendOne(%s)" % recipient)
Expand Down
2 changes: 1 addition & 1 deletion sms-cli.conf.template
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ url_pattern = "https://sms.provider.com/http/sendmsg?user=XXXXX&password=XXXXX&t
[clickatell] [clickatell]
## Clickatell gateway - http://clickatell.com ## Clickatell gateway - http://clickatell.com
engine = "Clickatell" engine = "Clickatell"
user = "XXXXX" username = "XXXXX"
password = "XXXXX" password = "XXXXX"
api_id = "XXXXX" api_id = "XXXXX"
## Optional parameters ## Optional parameters
Expand Down

0 comments on commit ad3cae8

Please sign in to comment.