diff --git a/ad_tasks.py b/ad_tasks.py index 5762017..1c1a1a2 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -97,8 +97,11 @@ def send_cache_data(): item['y_offset'] = 0 try: temp = {} + pdb.set_trace() temp['jump_param'] = item['jump_param'] - item['jump_appid'] = json.loads(item['ad_property']).update(temp) + if not isinstance(item.get('ad_property', {}), dict): + item['ad_property'] = dict(item.get('ad_property', {})) + item['ad_property'].update(temp) except: pass