diff --git a/lbrynet/extras/daemon/Daemon.py b/lbrynet/extras/daemon/Daemon.py index 0b02ee431..6bb5b8fb4 100644 --- a/lbrynet/extras/daemon/Daemon.py +++ b/lbrynet/extras/daemon/Daemon.py @@ -2588,7 +2588,8 @@ class Daemon(metaclass=JSONRPCServerType): Returns: (str) Success/fail message """ - + if not blob_hash or not is_valid_blobhash(blob_hash): + return f"Invalid blob hash to delete '{blob_hash}'" streams = self.stream_manager.get_filtered_streams(sd_hash=blob_hash) if streams: await self.stream_manager.delete_stream(streams[0])