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 = {