Fixed buffer updates for buffers depending on get_page. That includes wall buffers and everything else which is not the home buffer

This commit is contained in:
Manuel Cortez 2019-02-26 08:35:42 -06:00
parent 06898ca0af
commit f1f86e04e6

View File

@ -183,7 +183,7 @@ class vkSession(object):
p = getattr(c, p) p = getattr(c, p)
except AttributeError: except AttributeError:
p = c p = c
if name in self.db and "offset" in self.db[name]: if name in self.db and "offset" in self.db[name] and show_nextpage == True:
kwargs.update(offset=self.db[name]["offset"]) kwargs.update(offset=self.db[name]["offset"])
else: else:
kwargs.update(offset=0) kwargs.update(offset=0)