fix
This commit is contained in:
parent
bab0a27232
commit
71f5cd2550
@ -121,9 +121,9 @@ def send_cache_data():
|
|||||||
if all:
|
if all:
|
||||||
# log.info(f"get data was {all}!\n")
|
# log.info(f"get data was {all}!\n")
|
||||||
for line in all:
|
for line in all:
|
||||||
|
if line:
|
||||||
locationid = json.loads(line.get('locationid'))
|
locationid = json.loads(line.get('locationid'))
|
||||||
for item in locationid:
|
for item in locationid:
|
||||||
pdb.set_trace()
|
|
||||||
area = get_area_by_locationid(item)
|
area = get_area_by_locationid(item)
|
||||||
for one in area:
|
for one in area:
|
||||||
key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{one}::{item}"
|
key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{one}::{item}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user