# HG changeset patch # User Björn Ricks # Date 1413452866 -7200 # Node ID aee742cdd6042d93e54c7767238c8b4d80026ffc # Parent 89ffa12bd48d616e07c06ee77fc2ddd8f978c9be Update castclient to use same url for template rendering and conversion diff -r 89ffa12bd48d -r aee742cdd604 castclient.py --- a/castclient.py Thu Oct 16 11:47:05 2014 +0200 +++ b/castclient.py Thu Oct 16 11:47:46 2014 +0200 @@ -20,12 +20,7 @@ parser.print_usage() sys.exit(1) - if options.json: - service = "template" - else: - service = "convert" - - url = "http://%s:%s/%s/" % (options.host, options.port, service) + url = "http://%s:%s/convert/" % (options.host, options.port) infilename = args[0] outfilename = args[1] format = options.format