chore: black format

This commit is contained in:
xtaodada 2023-09-29 23:32:21 +08:00
parent 7b2a97bc19
commit c8e481518e
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -155,9 +155,7 @@ class Core:
return
if type_name not in self.data[ch_name]:
return
self.data[ch_name] = {
k: v for k, v in self.data[ch_name].copy().items() if k != type_name
}
self.data[ch_name] = {k: v for k, v in self.data[ch_name].copy().items() if k != type_name}
def save_value(self):
self.data = {k: v for k, v in self.data.copy().items() if v}