From f0d69a62b7d6492af9a9a8084ad3dba495bb909c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 17 Jun 2016 15:42:37 +0300 Subject: how_much_online.py: CSV/JSON/bar chart output --- vk/user.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vk/user.py') diff --git a/vk/user.py b/vk/user.py index c2ed623..2ec82cc 100644 --- a/vk/user.py +++ b/vk/user.py @@ -164,7 +164,8 @@ class User(Hashable, MutableMapping): self._fields = fields def __eq__(self, other): - return self._fields == other._fields + return self.get_uid() == other.get_uid() + #return self._fields == other._fields def __hash__(self, fields=None): return hash(self.get_uid()) -- cgit v1.2.3