From 7d158ff40ef89f49bbc5625aadab539a148f369e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Mon, 16 Oct 2023 22:40:21 +0800 Subject: [PATCH] some feat --- xiaomusic/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xiaomusic/config.py b/xiaomusic/config.py index dc29e6e..6820e2c 100644 --- a/xiaomusic/config.py +++ b/xiaomusic/config.py @@ -56,7 +56,7 @@ class Config: music_path: str = os.getenv("XIAOMUSIC_MUSIC_PATH", "music") hostname: str = os.getenv("XIAOMUSIC_HOSTNAME", "192.168.2.5") port: int = int(os.getenv("XIAOMUSIC_PORT", "8090")) - proxy: str = os.getenv("XIAOMUSIC_PROXY", None) + proxy: str | None = os.getenv("XIAOMUSIC_PROXY", None) def __post_init__(self) -> None: if self.proxy: