mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2025-04-18 04:49:55 +08:00
fmt
This commit is contained in:
parent
0826daf410
commit
4d0a32ca0e
|
@ -138,7 +138,11 @@ impl PluginConfigFile {
|
|||
let plugins = PyStatus::get_mut();
|
||||
|
||||
fn fmt_bool(b: bool) -> String {
|
||||
if b { "启用".green().to_string() } else { "禁用".red().to_string() }
|
||||
if b {
|
||||
"启用".green().to_string()
|
||||
} else {
|
||||
"禁用".red().to_string()
|
||||
}
|
||||
}
|
||||
|
||||
plugins.files.iter_mut().for_each(|(path, status)| {
|
||||
|
|
Loading…
Reference in New Issue
Block a user