diff --git a/ad_tasks.py b/ad_tasks.py index 3fd4f36..fb179de 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -98,12 +98,13 @@ def send_cache_data(): try: print(f"0={item}") temp = {} - temp['jump_param'] = item['jump_param'] + temp['jump_param'] = item.get('jump_param',"") if not isinstance(item.get('ad_property', {}), dict): if not item.get('ad_property', {}): item['ad_property']={}.update(temp) else: item['ad_property'] = json.loads(item.get('ad_property', {})).update(temp) + print(f"item['ad_property']={item['ad_property']}") item['ad_property']=json.dumps(item['ad_property']) print(f"1={item}") except Exception: