mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix bug
This commit is contained in:
@@ -37,7 +37,7 @@ class FileManagerModule(_ModuleBase):
|
|||||||
|
|
||||||
def init_module(self) -> None:
|
def init_module(self) -> None:
|
||||||
# 加载模块
|
# 加载模块
|
||||||
self._storage_schemas = ModuleHelper.load('app.modules.filetransfer.storage',
|
self._storage_schemas = ModuleHelper.load('app.modules.filemanager.storage',
|
||||||
filter_func=lambda _, obj: hasattr(obj, 'schema'))
|
filter_func=lambda _, obj: hasattr(obj, 'schema'))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class IndexerModule(_ModuleBase):
|
|||||||
return True, ""
|
return True, ""
|
||||||
|
|
||||||
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
||||||
return "INDEXER", "builtin"
|
pass
|
||||||
|
|
||||||
def search_torrents(self, site: CommentedMap,
|
def search_torrents(self, site: CommentedMap,
|
||||||
keywords: List[str] = None,
|
keywords: List[str] = None,
|
||||||
|
|||||||
Reference in New Issue
Block a user