mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
fix 数据库连接复用
This commit is contained in:
@@ -62,7 +62,7 @@ class BestFilmVersion(_PluginBase):
|
||||
|
||||
def init_plugin(self, config: dict = None):
|
||||
self._cache_path = settings.TEMP_PATH / "__best_film_version_cache__"
|
||||
self.subscribechain = SubscribeChain()
|
||||
self.subscribechain = SubscribeChain(self.db)
|
||||
|
||||
# 停止现有任务
|
||||
self.stop_service()
|
||||
|
||||
Reference in New Issue
Block a user