Skip to content

Commit 1eea695

Browse files
committed
Change pretty url parameter to @pretty to stop collision with field name.
1 parent 84c4881 commit 1eea695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,7 @@ def dispatch(self, method, uri, input):
15361536

15371537
# check for pretty print
15381538
try:
1539-
pretty_output = not input['pretty'].value.lower() == "false"
1539+
pretty_output = not input['@pretty'].value.lower() == "false"
15401540
except KeyError:
15411541
pretty_output = True
15421542

0 commit comments

Comments
 (0)