调整缓存生成脚本
This commit is contained in:
parent
0fba5384f7
commit
597755d610
@ -129,7 +129,7 @@ def send_cache_data():
|
||||
for line in all:
|
||||
if line:
|
||||
locationids = json.loads(line.get('locationid'))
|
||||
for locationid in str(locationids).replace('[','').replace(']','').split(','):
|
||||
for locationid in str(locationids).strip('[]').split(','):
|
||||
locationid = locationid.strip()
|
||||
area_all = get_area_by_locationid(locationid)
|
||||
for area in area_all.split(','):
|
||||
|
Loading…
x
Reference in New Issue
Block a user