fix threaded lbryum check

This commit is contained in:
Jack Robison 2017-02-02 11:31:31 -05:00
parent f737b3aaf7
commit 45a6228b58

View file

@ -131,7 +131,7 @@ class CheckRemoteVersions(object):
def __call__(self): def __call__(self):
d = threads.deferToThread(self._get_lbrynet_version) d = threads.deferToThread(self._get_lbrynet_version)
d.addErrback(self._trap_and_log_error, 'lbrynet') 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(self._trap_and_log_error, 'lbryum')
d.addErrback(log.fail(), 'Failure checking versions on github') d.addErrback(log.fail(), 'Failure checking versions on github')