Mercurial > odfcast
diff castclient.py @ 35:aee742cdd604
Update castclient to use same url for template rendering and conversion
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 16 Oct 2014 11:47:46 +0200 |
parents | c04edbd52967 |
children | 349d49bb69f4 |
line wrap: on
line diff
--- 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