fix 语法问题
This commit is contained in:
parent
b310367d25
commit
b9dec73773
@ -458,7 +458,7 @@ class Emby:
|
|||||||
:param item_id: 在Emby中的ID
|
:param item_id: 在Emby中的ID
|
||||||
:param image_type: 图片类型,如Backdrop、Primary
|
:param image_type: 图片类型,如Backdrop、Primary
|
||||||
"""
|
"""
|
||||||
if self._playhost is None or self._playhost == "":
|
if not self._playhost:
|
||||||
logger.error("Emby外网播放地址未能获取或为空")
|
logger.error("Emby外网播放地址未能获取或为空")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@ -443,7 +443,7 @@ class Jellyfin:
|
|||||||
:param item_id: 在Jellyfin中的ID
|
:param item_id: 在Jellyfin中的ID
|
||||||
:param image_type: 图片类型,如Backdrop、Primary
|
:param image_type: 图片类型,如Backdrop、Primary
|
||||||
"""
|
"""
|
||||||
if self._playhost is None or self._playhost == "":
|
if not self._playhost:
|
||||||
logger.error("Jellyfin外网播放地址未能获取或为空")
|
logger.error("Jellyfin外网播放地址未能获取或为空")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user