Mercurial > odfcast
changeset 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 | 89ffa12bd48d |
children | 3e83888fb8d8 |
files | castclient.py |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
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