diff --git a/ad_interface_tornado.py b/ad_interface_tornado.py index f0cc1bd..bf08109 100644 --- a/ad_interface_tornado.py +++ b/ad_interface_tornado.py @@ -67,7 +67,7 @@ def send_cache_data(): if all: # log.info(f"get data was {all}!\n") for line in all: - key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{line.get('area').split(',')[0]}\ + key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{line.get('area').split(',')[0].strip()}\ ::{line.get('locationid', 0)}" if int(line['ad_num']) > 0: