forked from LBRYCommunity/lbry-sdk
tanstaafl
This commit is contained in:
parent
3cea41a854
commit
b80fe24179
2 changed files with 4 additions and 3 deletions
|
@ -427,9 +427,9 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
|||
else:
|
||||
d = defer.succeed(None)
|
||||
|
||||
if float(self.session.wallet.wallet_balance) == 0.0:
|
||||
d.addCallback(lambda _: self._check_first_run())
|
||||
d.addCallback(self._show_first_run_result)
|
||||
# if float(self.session.wallet.wallet_balance) == 0.0:
|
||||
# d.addCallback(lambda _: self._check_first_run())
|
||||
# d.addCallback(self._show_first_run_result)
|
||||
|
||||
d.addCallback(lambda _: _wait_for_credits() if self.requested_first_run_credits else _announce())
|
||||
return d
|
||||
|
|
|
@ -127,6 +127,7 @@ class Publisher(object):
|
|||
log.info(err.getTraceback())
|
||||
message = "An error occurred publishing %s to %s. Error: %s."
|
||||
if err.check(InsufficientFundsError):
|
||||
d = defer.succeed(True)
|
||||
error_message = "Insufficient funds"
|
||||
else:
|
||||
d = defer.succeed(True)
|
||||
|
|
Loading…
Reference in a new issue