fix incorrect variable

This commit is contained in:
Jack 2016-04-09 16:18:06 -04:00
parent a931f59dda
commit e48cc40610

View file

@ -894,7 +894,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
log.info("[" + str(datetime.now()) + "] Get startup notice")
if self.first_run and not self.wallet.balance:
if self.first_run and not self.session.wallet.wallet_balance:
return self._render_response(self.startup_message, OK_CODE)
elif self.first_run:
return self._render_response(None, OK_CODE)