diff --git a/examples/send-message b/examples/send-message index 0132ef3..7936d14 100755 --- a/examples/send-message +++ b/examples/send-message @@ -46,11 +46,7 @@ if len(args) == 0: parser.error("You must specify recipients") sys.path.append(path.join(path.dirname(__file__), '..')) -client = humbug.Client( - email=options.user, - api_key=options.api_key, - verbose=True, - site=options.site) +client = humbug.init_from_options(options) message_data = { "type": options.type,