Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Removed unicode encoding for strings that might not be unicode #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tornadoredis/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from tornado.ioloop import IOLoop
from tornado import gen
from tornado import stack_context
from tornado.escape import utf8, to_unicode, to_basestring
from tornado.escape import utf8, to_basestring

from .exceptions import RequestError, ConnectionError, ResponseError
from .connection import Connection
Expand Down Expand Up @@ -440,7 +440,6 @@ def _consume_bulk(self, tail, callback=None):
if not response:
raise ResponseError('EmptyResponse')
else:
response = to_unicode(response)
response = response[:-2]
callback(response)

Expand Down