stupid bug

This commit is contained in:
Alex Grintsvayg 2017-03-17 13:07:18 -04:00
parent b00c20180b
commit 6482619fac

View file

@ -17,7 +17,7 @@ from lbrynet.lbryfile.StreamDescriptor import EncryptedFileStreamType
from lbrynet.cryptstream.client.CryptStreamDownloader import AlreadyStoppedError
from lbrynet.cryptstream.client.CryptStreamDownloader import CurrentlyStoppingError
from lbrynet.core.sqlite_helpers import rerun_if_locked
from lbrynet.conf import settings
from lbrynet import conf
log = logging.getLogger(__name__)
@ -58,7 +58,7 @@ class EncryptedFileManager(object):
yield self._open_db()
yield self._add_to_sd_identifier()
yield self._start_lbry_files()
if settings['reflect_uploads']:
if conf.settings['reflect_uploads']:
safe_start_looping_call(self.lbry_file_reflector)
def get_lbry_file_status(self, lbry_file):