We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e14e1f6 + 8c46fe1 commit c8b9636Copy full SHA for c8b9636
ddb.py
@@ -215,9 +215,9 @@ def referrer_counts(self):
215
def _get_counts(self, property):
216
stats = defaultdict(lambda: defaultdict(lambda: defaultdict(int)))
217
for id, ddb in self.items():
218
- for referrer, count in getattr(ddb, property).items():
+ for remote_ip, count in getattr(ddb, property).items():
219
for value, _count in count.items():
220
- stats[id][referrer][value] += _count
+ stats[id][remote_ip][value] += _count
221
return stats
222
223
0 commit comments