fix: #67 没配置did时也允许启动 http 服务
This commit is contained in:
parent
49ec1bb7c0
commit
346f0af543
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user