reading agreement parameter

This commit is contained in:
volkansahin 2017-07-18 10:07:36 +03:00
parent fe2856d3d0
commit 7780225f91

View file

@ -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()