diff --git a/opt/ahenk/base/system/system.py b/opt/ahenk/base/system/system.py index 5e8e7fb..0acdd21 100644 --- a/opt/ahenk/base/system/system.py +++ b/opt/ahenk/base/system/system.py @@ -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()