调整缓存生成逻辑

This commit is contained in:
pengtao 2019-07-17 11:09:22 +08:00
parent 2f904c7aec
commit 1d86bc8ba7

View File

@ -55,6 +55,7 @@ def send_cache_data():
log.error("split data failed", exc_info=True)
# 检查ID是否存在播放列表中以及播放次数是否完毕
if all:
# log.info(f"get data was {all}!\n")
for line in all:
key = f"ad::{line.get('gameid', 0)}::{line.get('locationid', 0)}"