missing await

This commit is contained in:
Jack Robison 2019-04-17 15:21:58 -04:00
parent bc29fc4465
commit d5a353066c
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -223,7 +223,7 @@ class ManagedStream:
await self.downloader.start(node)
if not save_file and not file_name:
if not await self.blob_manager.storage.file_exists(self.sd_hash):
self.rowid = self.blob_manager.storage.save_downloaded_file(
self.rowid = await self.blob_manager.storage.save_downloaded_file(
self.stream_hash, None, None, 0.0
)
self.download_directory = None