修复#80

This commit is contained in:
Jing Ling
2020-05-08 21:45:16 +08:00
parent 8920a52a0f
commit 3bde010133
+2 -1
View File
@@ -39,7 +39,8 @@ def update_data(data, records):
if not items.get('content'): if not items.get('content'):
subdomain = items.get('subdomain') subdomain = items.get('subdomain')
record = records.get(subdomain) record = records.get(subdomain)
items.update(record) if record:
items.update(record)
data[index] = items data[index] = items
return data return data