fix 语法问题

This commit is contained in:
jeblove
2024-03-10 18:10:09 +08:00
parent b310367d25
commit b9dec73773
2 changed files with 2 additions and 2 deletions

View File

@ -443,7 +443,7 @@ class Jellyfin:
:param item_id: 在Jellyfin中的ID
:param image_type: 图片类型如Backdrop、Primary
"""
if self._playhost is None or self._playhost == "":
if not self._playhost:
logger.error("Jellyfin外网播放地址未能获取或为空")
return None