Mercurial > p > roundup > code
diff roundup/rest.py @ 5701:fabb12ba9466
Change pretty url parameter to @pretty to stop collision with field name.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 10 Apr 2019 17:46:51 -0400 |
| parents | dbf422a8cff7 |
| children | 61874fd78ced |
line wrap: on
line diff
--- a/roundup/rest.py Mon Apr 08 22:45:47 2019 -0400 +++ b/roundup/rest.py Wed Apr 10 17:46:51 2019 -0400 @@ -1536,7 +1536,7 @@ # check for pretty print try: - pretty_output = not input['pretty'].value.lower() == "false" + pretty_output = not input['@pretty'].value.lower() == "false" except KeyError: pretty_output = True
