mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-07 08:06:49 +08:00
Fix: Plugins should bind a func list (#3390)
This commit is contained in:
parent
17e41a8bff
commit
108e0d7da9
@ -25,10 +25,10 @@ class FgoConfig(AzurLaneConfig, ConfigUpdater, GeneratedConfig):
|
||||
self.save()
|
||||
|
||||
# @override
|
||||
def bind(self, func, func_set=None):
|
||||
if func_set is None:
|
||||
func_set = {"Fpy"}
|
||||
super().bind(func, func_set)
|
||||
def bind(self, func, func_list=None):
|
||||
if func_list is None:
|
||||
func_list = ["Fpy"]
|
||||
super().bind(func, func_list)
|
||||
|
||||
# @override
|
||||
def save(self, mod_name="fpy"):
|
||||
|
@ -27,10 +27,10 @@ class ArknightsConfig(AzurLaneConfig, ConfigUpdater, GeneratedConfig):
|
||||
self.task = task
|
||||
self.save()
|
||||
|
||||
def bind(self, func, func_set=None):
|
||||
if func_set is None:
|
||||
func_set = {'Maa'}
|
||||
super().bind(func, func_set)
|
||||
def bind(self, func, func_list=None):
|
||||
if func_list is None:
|
||||
func_list = ['Maa']
|
||||
super().bind(func, func_list)
|
||||
|
||||
def save(self, mod_name='maa'):
|
||||
super().save(mod_name)
|
||||
|
Loading…
Reference in New Issue
Block a user