def __onStatsChanged(self, stats): if Money.hasMoney(stats): self.shopTab.updateBalance() self.onTabsUpdate()