forked from LBRYCommunity/lbry-sdk
whitespace
This commit is contained in:
parent
6bdb0280be
commit
3bdd33567b
1 changed files with 17 additions and 10 deletions
|
@ -144,16 +144,23 @@ class EncryptedFileManager(object):
|
||||||
if not download_directory:
|
if not download_directory:
|
||||||
download_directory = self.download_directory
|
download_directory = self.download_directory
|
||||||
payment_rate_manager.min_blob_data_payment_rate = blob_data_rate
|
payment_rate_manager.min_blob_data_payment_rate = blob_data_rate
|
||||||
lbry_file = ManagedEncryptedFileDownloader(rowid, stream_hash, self.session.peer_finder,
|
lbry_file_downloader = ManagedEncryptedFileDownloader(
|
||||||
|
rowid,
|
||||||
|
stream_hash,
|
||||||
|
self.session.peer_finder,
|
||||||
self.session.rate_limiter,
|
self.session.rate_limiter,
|
||||||
self.session.blob_manager,
|
self.session.blob_manager,
|
||||||
self.stream_info_manager,
|
self.stream_info_manager,
|
||||||
self, payment_rate_manager, self.session.wallet,
|
self,
|
||||||
download_directory, upload_allowed,
|
payment_rate_manager,
|
||||||
file_name=file_name)
|
self.session.wallet,
|
||||||
yield lbry_file.set_stream_info()
|
download_directory,
|
||||||
self.lbry_files.append(lbry_file)
|
upload_allowed,
|
||||||
defer.returnValue(lbry_file)
|
file_name=file_name
|
||||||
|
)
|
||||||
|
yield lbry_file_downloader.set_stream_info()
|
||||||
|
self.lbry_files.append(lbry_file_downloader)
|
||||||
|
defer.returnValue(lbry_file_downloader)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _stop_lbry_file(self, lbry_file):
|
def _stop_lbry_file(self, lbry_file):
|
||||||
|
|
Loading…
Add table
Reference in a new issue