mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 17:08:35 +08:00
Merge branch 'v2' of https://github.com/jxxghp/MoviePilot into feature/subscribe
This commit is contained in:
@@ -518,11 +518,6 @@ class EventManager(metaclass=Singleton):
|
|||||||
if isinstance(etype, list):
|
if isinstance(etype, list):
|
||||||
# 传入的已经是列表,直接使用
|
# 传入的已经是列表,直接使用
|
||||||
event_list = etype
|
event_list = etype
|
||||||
elif etype is EventType:
|
|
||||||
# 订阅所有事件
|
|
||||||
event_list = []
|
|
||||||
for et in etype:
|
|
||||||
event_list.append(et)
|
|
||||||
else:
|
else:
|
||||||
# 不是列表则包裹成单一元素的列表
|
# 不是列表则包裹成单一元素的列表
|
||||||
event_list = [etype]
|
event_list = [etype]
|
||||||
|
|||||||
+1
-1
@@ -58,6 +58,6 @@ pystray~=0.19.5
|
|||||||
pyotp~=2.9.0
|
pyotp~=2.9.0
|
||||||
Pinyin2Hanzi~=0.1.1
|
Pinyin2Hanzi~=0.1.1
|
||||||
pywebpush~=2.0.0
|
pywebpush~=2.0.0
|
||||||
python-115~=0.0.9.8.8.2
|
python-115~=0.0.9.8.8.3
|
||||||
aligo~=6.2.4
|
aligo~=6.2.4
|
||||||
aiofiles~=24.1.0
|
aiofiles~=24.1.0
|
||||||
Reference in New Issue
Block a user