Skip to content

Commit

Permalink
Merge pull request #2372 from camptocamp/pdfreport-png
Browse files Browse the repository at this point in the history
Be able to do a pdfreport in png...
  • Loading branch information
sbrunner authored Jul 12, 2016
2 parents b247c4c + ca19b1b commit c61bc86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c2cgeoportal/views/pdfreport.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ def _do_print(self, spec):
headers = dict(self.request.headers)
headers["Content-Type"] = "application/json"
resp, content = self._proxy(
"%s/buildreport.pdf" % (
"%s/buildreport.%s" % (
self.config["print_url"],
spec["outputFormat"],
),
method="POST",
body=dumps(spec),
Expand Down

0 comments on commit c61bc86

Please sign in to comment.