set verified after callback
This commit is contained in:
parent
c6b910a5f3
commit
a4ced4dbd2
1 changed files with 1 additions and 1 deletions
|
@ -111,9 +111,9 @@ class BlobFile:
|
|||
if self.verified.is_set():
|
||||
return
|
||||
await self.loop.run_in_executor(None, _save_verified)
|
||||
self.verified.set()
|
||||
if self.blob_completed_callback:
|
||||
await self.blob_completed_callback(self)
|
||||
self.verified.set()
|
||||
|
||||
def open_for_writing(self) -> HashBlobWriter:
|
||||
if os.path.exists(self.file_path):
|
||||
|
|
Loading…
Reference in a new issue