Fix UnicodeDecodeError

This commit is contained in:
Jason Veatch
2016-12-01 12:08:39 -05:00
committed by Jason Veatch
parent 5f199882d8
commit 9ac70f3dcb
+1 -1
View File
@@ -164,7 +164,7 @@ REPO_ACTIONS = [
}, },
{'_type': 'repos', '_id': 'elasticsearch-py', '_op_type': 'update', 'doc': { {'_type': 'repos', '_id': 'elasticsearch-py', '_op_type': 'update', 'doc': {
'owner': {'name': 'Honza Král', 'email': '[email protected]'}, 'owner': {'name': u'Honza Král', 'email': '[email protected]'},
'created_at': datetime(2013, 5, 1, 16, 37, 32), 'created_at': datetime(2013, 5, 1, 16, 37, 32),
'tags': ['elasticsearch', 'search', 'python', 'client'], 'tags': ['elasticsearch', 'search', 'python', 'client'],
'description': 'For searching snakes.'} 'description': 'For searching snakes.'}