Skip to content

Commit

Permalink
Only apply the hack to query filters
Browse files Browse the repository at this point in the history
  • Loading branch information
erichuanggit committed Sep 8, 2015
1 parent a81f9bd commit b0e9074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdc_client/bin/pdc_client
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ if __name__ == "__main__":
data = load_data(options)

for key, value in data.iteritems():
if not value:
if options.request == 'GET' and not value:
# empty string won't be lost
data[key] = ''

Expand Down

0 comments on commit b0e9074

Please sign in to comment.