reading agreement parameter
This commit is contained in:
parent
fe2856d3d0
commit
7780225f91
|
@ -111,6 +111,13 @@ class System:
|
|||
config.read(System.Ahenk.config_path())
|
||||
return config.get('PLUGIN', 'mainModuleName')
|
||||
|
||||
@staticmethod
|
||||
def agreement():
|
||||
config = configparser.ConfigParser()
|
||||
config._interpolation = configparser.ExtendedInterpolation()
|
||||
config.read(System.Ahenk.config_path())
|
||||
return config.get('MACHINE', 'agreement')
|
||||
|
||||
@staticmethod
|
||||
def dn():
|
||||
system = System()
|
||||
|
|
Loading…
Reference in New Issue