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
+1 -1
View File
@@ -458,7 +458,7 @@ class Emby:
:param item_id: 在Emby中的ID
:param image_type: 图片类型,如Backdrop、Primary
"""
if self._playhost is None or self._playhost == "":
if not self._playhost:
logger.error("Emby外网播放地址未能获取或为空")
return None