mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Convert value to str when counting strings.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user