fix storage api

This commit is contained in:
jxxghp
2024-08-16 11:59:45 +08:00
parent 8485d4ec30
commit af88618fbd
6 changed files with 42 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ class Plex:
_plex = None
_session = None
def __init__(self, host: str, token: str, play_host: str = None, **kwargs):
def __init__(self, host: str = None, token: str = None, play_host: str = None, **kwargs):
if not host or not token:
logger.error("Plex服务器配置不完整")
return