doc: update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import logging
|
||||
|
||||
__PATH__ = "."
|
||||
__CONFIG__ = None
|
||||
|
||||
|
||||
def signal(obj, label, type):
|
||||
@@ -84,3 +85,18 @@ def path():
|
||||
def set_path(path):
|
||||
global __PATH__
|
||||
__PATH__ = path
|
||||
|
||||
|
||||
def set_config(config):
|
||||
global __CONFIG__
|
||||
__CONFIG__ = config
|
||||
|
||||
|
||||
def config():
|
||||
global __CONFIG__
|
||||
return __CONFIG__
|
||||
|
||||
|
||||
def build():
|
||||
global __CONFIG__
|
||||
return str(__CONFIG__.build).upper() == "TRUE"
|
||||
|
||||
Reference in New Issue
Block a user