aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/user.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-17 15:42:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-17 15:42:37 +0300
commitf0d69a62b7d6492af9a9a8084ad3dba495bb909c (patch)
tree4d9b74c217373ee456b7e7c4946ff1e2017e4629 /vk/user.py
parentignore connection errors in the db logger (diff)
downloadvk-scripts-f0d69a62b7d6492af9a9a8084ad3dba495bb909c.tar.gz
vk-scripts-f0d69a62b7d6492af9a9a8084ad3dba495bb909c.zip
how_much_online.py: CSV/JSON/bar chart output
Diffstat (limited to 'vk/user.py')
-rw-r--r--vk/user.py3
1 files changed, 2 insertions, 1 deletions
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())