Skip to content

Commit

Permalink
this should be unicode, too
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 5, 2015
1 parent 44950ee commit 74741ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion COMET/__init__.py
Expand Up @@ -158,7 +158,7 @@ def write_users():
'is_admin': user.is_admin,
'can_see_others_posts': user.can_see_others_posts
}
with io.open(json_path, 'wb') as fh:
with io.open(json_path, 'w', encoding='utf-8') as fh:
json.dump(udict, fh, indent=4)

read_users()
Expand Down

0 comments on commit 74741ee

Please sign in to comment.