全局变量
This commit is contained in:
parent
b60fa43567
commit
5050bfb169
@ -26,9 +26,11 @@ def _init(): # 初始化
|
|||||||
|
|
||||||
|
|
||||||
def get_active_connections():
|
def get_active_connections():
|
||||||
|
global active_connections
|
||||||
return active_connections
|
return active_connections
|
||||||
|
|
||||||
def get_active_connections_dist():
|
def get_active_connections_dist():
|
||||||
|
global active_connections_dist
|
||||||
return active_connections_dist
|
return active_connections_dist
|
||||||
|
|
||||||
def set_value(key, value):
|
def set_value(key, value):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user