每轮返回中间值

This commit is contained in:
JIAKUNHAO 2022-11-28 17:57:54 +08:00
parent aedef129ce
commit c3a6574372

View File

@ -31,5 +31,6 @@ def get_value(key):
# 获得一个全局变量,不存在则提示读取对应变量失败 # 获得一个全局变量,不存在则提示读取对应变量失败
try: try:
return redis_client.get_redis().get("_global_dict")[key] return redis_client.get_redis().get("_global_dict")[key]
except: except Exception as e:
print(e)
print('读取' + key + '失败\r\n') print('读取' + key + '失败\r\n')