From 5c6829165b933aa2d110903f51af8ade68c87949 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Tue, 7 May 2019 03:46:14 -0500 Subject: [PATCH] Fixed a typo --- src/controller/buffers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/buffers.py b/src/controller/buffers.py index e9c538e..64af920 100644 --- a/src/controller/buffers.py +++ b/src/controller/buffers.py @@ -500,7 +500,7 @@ class communityBuffer(feedBuffer): if self.can_get_items: # Strangely, groups.get does not return counters so we need those to show options for loading specific posts for communities. group_info = self.session.vk.client.groups.getById(group_ids=-1*self.kwargs["owner_id"], fields="counters")[0] - self.session.db["group_info"][self.group_info].update(group_info) + self.session.db["group_info"][self.group_id].update(group_info) if "can_post" in self.session.db["group_info"][self.group_id] and self.session.db["group_info"][self.group_id]["can_post"] == True: self.tab.post.Enable(True) super(communityBuffer, self).get_items(*args, **kwargs)