tanstaafl

This commit is contained in:
Jack 2016-07-01 02:55:20 -04:00
parent 3cea41a854
commit b80fe24179
2 changed files with 4 additions and 3 deletions

View file

@ -427,9 +427,9 @@ class LBRYDaemon(jsonrpc.JSONRPC):
else: else:
d = defer.succeed(None) d = defer.succeed(None)
if float(self.session.wallet.wallet_balance) == 0.0: # if float(self.session.wallet.wallet_balance) == 0.0:
d.addCallback(lambda _: self._check_first_run()) # d.addCallback(lambda _: self._check_first_run())
d.addCallback(self._show_first_run_result) # d.addCallback(self._show_first_run_result)
d.addCallback(lambda _: _wait_for_credits() if self.requested_first_run_credits else _announce()) d.addCallback(lambda _: _wait_for_credits() if self.requested_first_run_credits else _announce())
return d return d

View file

@ -127,6 +127,7 @@ class Publisher(object):
log.info(err.getTraceback()) log.info(err.getTraceback())
message = "An error occurred publishing %s to %s. Error: %s." message = "An error occurred publishing %s to %s. Error: %s."
if err.check(InsufficientFundsError): if err.check(InsufficientFundsError):
d = defer.succeed(True)
error_message = "Insufficient funds" error_message = "Insufficient funds"
else: else:
d = defer.succeed(True) d = defer.succeed(True)