diff --git a/bots/gcal-bot b/bots/gcal-bot index 889392b..14e1412 100755 --- a/bots/gcal-bot +++ b/bots/gcal-bot @@ -82,7 +82,7 @@ def get_calendar_url(): calendar_url = get_calendar_url() -humbug = humbug.Client( +client = humbug.Client( email=options.user, api_key=options.api_key, site=options.site, @@ -129,10 +129,10 @@ def send_reminders(): else: message = 'Reminder:\n\n' + '\n'.join('* ' + m for m in messages) - humbug.send_message(dict( - type = 'private', - to = options.user, - content = message)) + client.send_message(dict( + type = 'private', + to = options.user, + content = message)) sent |= keys