Convert value to str when counting strings.

This commit is contained in:
Logan Hanks
2013-04-12 13:50:24 -07:00
parent e21cd398c0
commit 5707111fab

View File

@@ -398,7 +398,7 @@ class Stats:
self.client.timing_stats.record(key, start, end)
def count_string(self, key, value, count=1):
self.client.string_counts.record(key, value, count=count)
self.client.string_counts.record(key, str(value), count=count)
class CacheStats: