Retrieve data for users not cached when they are requested

This commit is contained in:
Manuel Cortez 2019-01-13 13:13:05 -06:00
parent 43b762dd2a
commit cb00ff7c5d

View File

@ -210,6 +210,7 @@ class vkSession(object):
else:
user = dict(id=user_id)
self.process_usernames(data=dict(profiles=[user], groups=[]))
return self.get_user(user_id)
else:
if abs(user_id) in self.db["groups"]:
user_data = {}