From 35a2435195e87a513f29b5de293a45ecc5936e05 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 25 Jul 2013 13:59:19 -0400 Subject: [PATCH] api: Fix path in send_message example. (imported from commit 6aab581bf00736986ffcd11042c757eff0c78653) --- examples/send-message | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/send-message b/examples/send-message index 7936d14..8aa3878 100755 --- a/examples/send-message +++ b/examples/send-message @@ -24,6 +24,7 @@ import sys from os import path import optparse +sys.path.append(path.join(path.dirname(__file__), '..')) import humbug usage = """send-message --user= --api-key= [options] @@ -45,7 +46,6 @@ parser.add_option_group(humbug.generate_option_group(parser)) if len(args) == 0: parser.error("You must specify recipients") -sys.path.append(path.join(path.dirname(__file__), '..')) client = humbug.init_from_options(options) message_data = {