Skip to content

Commit

Permalink
new code value
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 22, 2017
1 parent 27c389f commit cc42db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appier/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

def serialize(obj):
if isinstance(obj, model.Model): return obj.model
if isinstance(obj, typesf.Type): return obj.json_v()
if isinstance(obj, typesf.AbstractType): return obj.json_v()
if type(obj) == type(None): return ""
return legacy.UNICODE(obj)

Expand Down

0 comments on commit cc42db1

Please sign in to comment.