Commit 0378ea9a authored by valtron's avatar valtron

some asserts

parent b1e6ece4
......@@ -45,6 +45,8 @@ class Stats:
self._collect('messages_received', user, client)
def _collect(self, stat, user, client):
assert user is not None
assert client is not None
if self.by_client is None:
self.by_client = {}
bc = self.by_client
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment