forked from LBRYCommunity/lbry-sdk
fix threaded lbryum check
This commit is contained in:
parent
f737b3aaf7
commit
45a6228b58
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class CheckRemoteVersions(object):
|
|||
def __call__(self):
|
||||
d = threads.deferToThread(self._get_lbrynet_version)
|
||||
d.addErrback(self._trap_and_log_error, 'lbrynet')
|
||||
d.addCallback(lambda _: self._get_lbryum_version())
|
||||
d.addCallback(lambda _: threads.deferToThread(self._get_lbryum_version))
|
||||
d.addErrback(self._trap_and_log_error, 'lbryum')
|
||||
d.addErrback(log.fail(), 'Failure checking versions on github')
|
||||
|
||||
|
|
Loading…
Reference in a new issue