Skip to content

Commit

Permalink
Fix serialization in python3
Browse files Browse the repository at this point in the history
  • Loading branch information
severb committed Jun 26, 2015
1 parent 66cc85d commit e4137eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flowy/serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _tag(value):
def _obj_hook(obj):
if len(obj) != 1:
return obj
key, value = obj.items()[0]
key, value = next(iter(obj.items()))
if key == ' u':
return uuid.UUID(value)
elif key == ' b':
Expand Down

0 comments on commit e4137eb

Please sign in to comment.