每轮返回中间值
This commit is contained in:
parent
29db3e0d9a
commit
08db602f03
@ -29,7 +29,7 @@ def set_value(key, value):
|
|||||||
|
|
||||||
def get_value(key):
|
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:
|
||||||
print('读取' + key + '失败\r\n')
|
# print('读取' + key + '失败\r\n')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user