diff --git a/platypush/pusher/__main__.py b/platypush/pusher/__main__.py index dfb401c3a..f80560094 100644 --- a/platypush/pusher/__main__.py +++ b/platypush/pusher/__main__.py @@ -4,12 +4,9 @@ from . import Pusher def main(args=sys.argv[1:]): opts = Pusher.parse_build_args(args) - pusher = Pusher(config_file=opts.config, backend=opts.backend) if opts.type == 'event': - delattr(opts, 'type') - print(opts.args) pusher.send_event(target=opts.target, type=opts.event, **opts.args) else: pusher.send_request(target=opts.target, action=opts.action, timeout=opts.timeout, **opts.args)