From 59325ad8c11ad6f114f2eaf70fe9a8112f0656f7 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 20 Feb 2019 16:48:25 -0300 Subject: [PATCH] fix delete log --- lbrynet/extras/daemon/Daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbrynet/extras/daemon/Daemon.py b/lbrynet/extras/daemon/Daemon.py index 586f4ded8..836053132 100644 --- a/lbrynet/extras/daemon/Daemon.py +++ b/lbrynet/extras/daemon/Daemon.py @@ -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