mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 16:36:53 +08:00
fix actions
This commit is contained in:
@@ -37,6 +37,10 @@ class AddDownloadAction(BaseAction):
|
||||
def description(self) -> str:
|
||||
return "根据资源列表添加下载任务"
|
||||
|
||||
@property
|
||||
def data(self) -> dict:
|
||||
return AddDownloadParams().dict()
|
||||
|
||||
@property
|
||||
def success(self) -> bool:
|
||||
return True if self._added_downloads else False
|
||||
|
||||
Reference in New Issue
Block a user