fix 插件的开关命名问题

This commit is contained in:
jxxghp
2023-08-15 17:49:03 +08:00
parent ce62355197
commit e4da7989a4
4 changed files with 6 additions and 6 deletions

View File

@ -120,7 +120,7 @@ class TorrentTransfer(_PluginBase):
# 关闭一次性开关
self._onlyonce = False
self.update_config({
"enable": self._enabled,
"enabled": self._enabled,
"onlyonce": self._onlyonce,
"cron": self._cron,
"notify": self._notify,
@ -415,7 +415,7 @@ class TorrentTransfer(_PluginBase):
]
}
], {
"enable": False,
"enabled": False,
"notify": False,
"onlyonce": False,
"cron": "",