From 2c2177ff8bd462dc428b24775d19336794e38f64 Mon Sep 17 00:00:00 2001 From: John Carr Date: Tue, 25 Jun 2024 15:15:25 +0100 Subject: [PATCH] Fixes --- music_assistant/server/providers/filesystem_smb/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/music_assistant/server/providers/filesystem_smb/__init__.py b/music_assistant/server/providers/filesystem_smb/__init__.py index 1ad7d3ef..806898bc 100644 --- a/music_assistant/server/providers/filesystem_smb/__init__.py +++ b/music_assistant/server/providers/filesystem_smb/__init__.py @@ -220,7 +220,10 @@ class SMBFileSystemProvider(LocalFileSystemProvider): raise LoginFailed(msg) self.logger.info("Mounting //%s/%s%s to %s", server, share, subfolder, self.base_path) - self.logger.debug("Using mount command: %s", mount_cmd.replace(password, "########")) + self.logger.debug( + "Using mount command: %s", + [m.replace(password, "########") if password else m for m in mount_cmd], + ) returncode, output = await check_output(mount_cmd) if returncode != 0: -- 2.34.1