From 1373c5535e8bd37655e6bf7f3aec855d8534eb8f Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 25 Jun 2013 12:19:42 -0400 Subject: [PATCH] API: Use humbug.init_from_options in send-message example. (imported from commit d44cd5fafa565b2f4709714c2777ad9ce513d953) --- examples/send-message | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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,