mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-24 13:02:15 +03:00
reading agreement parameter
This commit is contained in:
parent
fe2856d3d0
commit
7780225f91
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue