This commit is contained in:
Jack 2016-10-28 15:56:22 -04:00
parent 035a1cf758
commit 110a9b1e0f

View file

@ -39,7 +39,7 @@ def _reflect_if_unavailable(reflector_has_stream, lbry_file, reflector_server):
return _reflect_stream(lbry_file, reflector_server)
def check_and_restore_availability(cls, lbry_file, reflector_server):
d = cls._check_if_reflector_has_stream(lbry_file, reflector_server)
def check_and_restore_availability(lbry_file, reflector_server):
d = _check_if_reflector_has_stream(lbry_file, reflector_server)
d.addCallback(lambda send_stream: _reflect_if_unavailable(send_stream, lbry_file, reflector_server))
return d