Skip to content

Commit 8e62fb2

Browse files
committed
fix _decode_data. bump 1.59a1
1 parent cfa3bf3 commit 8e62fb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

memcache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def _decode_value(self, data):
304304
if not data:
305305
return data
306306

307-
if not str(data).startswith(TAGS_PREFIX):
307+
if isinstance(data, six.string_types) and (not data.startswith(TAGS_PREFIX)):
308308
return data
309309

310310
try:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
setup(name="python-memcached",
7-
version="1.59a",
7+
version="1.59a1",
88
description="Pure python memcached client",
99
long_description=open("README.md").read(),
1010
author="Evan Martin",

0 commit comments

Comments
 (0)