forked from LBRYCommunity/lbry-sdk
update download_blob_from_peer.py
This commit is contained in:
parent
49a54f8a13
commit
9058201de0
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ async def main(blob_hash: str, url: str):
|
||||||
host = host_info[0][4][0]
|
host = host_info[0][4][0]
|
||||||
|
|
||||||
storage = SQLiteStorage(conf, os.path.join(conf.data_dir, "lbrynet.sqlite"))
|
storage = SQLiteStorage(conf, os.path.join(conf.data_dir, "lbrynet.sqlite"))
|
||||||
blob_manager = BlobManager(loop, os.path.join(conf.data_dir, "blobfiles"), storage)
|
blob_manager = BlobManager(loop, os.path.join(conf.data_dir, "blobfiles"), storage, conf)
|
||||||
await storage.open()
|
await storage.open()
|
||||||
await blob_manager.setup()
|
await blob_manager.setup()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue