fix: wpr_data 副本
This commit is contained in:
parent
e8eeb14766
commit
811e971b4b
|
|
@ -25,7 +25,7 @@ def main(number, mgroup:Mgroup):
|
||||||
|
|
||||||
old_data:dict = wpr.data
|
old_data:dict = wpr.data
|
||||||
if old_data:
|
if old_data:
|
||||||
for item in old_data.keys():
|
for item in list(old_data.keys()):
|
||||||
if f'{mgroup_name}_' in item:
|
if f'{mgroup_name}_' in item:
|
||||||
del old_data[item]
|
del old_data[item]
|
||||||
old_data.update(data)
|
old_data.update(data)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue