From 346f0af543824e2a5afb768f9fa8391870cc14fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Mon, 27 May 2024 14:47:40 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20#67=20=E6=B2=A1=E9=85=8D=E7=BD=AEdid?= =?UTF-8?q?=E6=97=B6=E4=B9=9F=E5=85=81=E8=AE=B8=E5=90=AF=E5=8A=A8=20http?= =?UTF-8?q?=20=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaomusic/xiaomusic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xiaomusic/xiaomusic.py b/xiaomusic/xiaomusic.py index 57ddffc..b635ff6 100644 --- a/xiaomusic/xiaomusic.py +++ b/xiaomusic/xiaomusic.py @@ -172,7 +172,7 @@ class XiaoMusic: if d["model"].endswith(self.config.hardware.lower()) ) except StopIteration: - raise Exception( + self.log.error( f"cannot find did for hardware: {self.config.hardware} " "please set it via MI_DID env" )