Skip to content

Commit

Permalink
Remove if
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Jan 30, 2017
1 parent 1dc6e7a commit 97a6f65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kinto/core/resource/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ class QueryField(colander.SchemaNode):
missing = colander.drop

def deserialize(self, cstruct=colander.null):
if isinstance(cstruct, bytes):
cstruct = native_value(cstruct)
cstruct = native_value(cstruct)
return super(QueryField, self).deserialize(cstruct)


Expand Down

0 comments on commit 97a6f65

Please sign in to comment.