mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修复 TypeError: BotConfig.convert_to_specifierset() takes 1 positional argument but 2 were given
parent
18f839b7d6
commit
dd09576720
|
|
@ -83,7 +83,7 @@ class BotConfig:
|
|||
return config_dir
|
||||
|
||||
@classmethod
|
||||
def convert_to_specifierset(value: str) -> SpecifierSet:
|
||||
def convert_to_specifierset(cls, value: str) -> SpecifierSet:
|
||||
"""将 字符串 版本表达式转换成 SpecifierSet
|
||||
Args:
|
||||
value[str]: 版本表达式(字符串)
|
||||
|
|
|
|||
Loading…
Reference in New Issue