diff --git a/ad_tasks.py b/ad_tasks.py index 114eb73..a653ca5 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -103,9 +103,10 @@ def send_cache_data(): # if not item.get('ad_property', {}): # item['ad_property']={}.update(temp) # else: - # item['ad_property'] = json.loads(item.get('ad_property', {})).update(temp) + # item['ad_property'] = json.loads(item.get('ad_property', {}).replace("'",'"')) + # item['ad_property'].update(temp) # print(f"item['ad_property']={item['ad_property']}") - # item['ad_property']=json.dumps(item['ad_property']) + # #item['ad_property']=json.dumps(item['ad_property']) # print(f"1={item}") # except Exception: # log.error(f"write {item}",exc_info=True)