mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-27 11:10:41 +08:00
fix db session
This commit is contained in:
@@ -66,9 +66,9 @@ class DoubanSync(_PluginBase):
|
||||
|
||||
def init_plugin(self, config: dict = None):
|
||||
self.rsshelper = RssHelper()
|
||||
self.downloadchain = DownloadChain(self.db)
|
||||
self.searchchain = SearchChain(self.db)
|
||||
self.subscribechain = SubscribeChain(self.db)
|
||||
self.downloadchain = DownloadChain()
|
||||
self.searchchain = SearchChain()
|
||||
self.subscribechain = SubscribeChain()
|
||||
|
||||
# 停止现有任务
|
||||
self.stop_service()
|
||||
|
||||
Reference in New Issue
Block a user