forked from LBRYCommunity/lbry-sdk
fix delete log
This commit is contained in:
parent
1f72e27272
commit
59325ad8c1
1 changed files with 2 additions and 1 deletions
|
@ -1673,8 +1673,9 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
return False
|
||||
else:
|
||||
for stream in streams:
|
||||
message = f"Deleted file {stream.file_name}"
|
||||
await self.stream_manager.delete_stream(stream, delete_file=delete_from_download_dir)
|
||||
log.info("Deleted file: %s", stream.file_name)
|
||||
log.info(message)
|
||||
result = True
|
||||
return result
|
||||
|
||||
|
|
Loading…
Reference in a new issue