forked from LBRYCommunity/lbry-sdk
close reader before deleting blob
This commit is contained in:
parent
8426b674a3
commit
8bdcac0f3e
1 changed files with 1 additions and 1 deletions
|
@ -337,9 +337,9 @@ class BlobFile(AbstractBlob):
|
|||
return self.loop.create_task(write_blob())
|
||||
|
||||
def delete(self):
|
||||
super().delete()
|
||||
if os.path.isfile(self.file_path):
|
||||
os.remove(self.file_path)
|
||||
return super().delete()
|
||||
|
||||
@classmethod
|
||||
async def create_from_unencrypted(
|
||||
|
|
Loading…
Reference in a new issue