From cb00ff7c5dd833c147651c36f67be802582f9547 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 13 Jan 2019 13:13:05 -0600 Subject: [PATCH] Retrieve data for users not cached when they are requested --- src/sessionmanager/session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index 0004496..2d979e9 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -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 = {}