每轮返回中间值
This commit is contained in:
parent
aedef129ce
commit
c3a6574372
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user