mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-10 06:32:17 +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())
|
config.read(System.Ahenk.config_path())
|
||||||
return config.get('PLUGIN', 'mainModuleName')
|
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
|
@staticmethod
|
||||||
def dn():
|
def dn():
|
||||||
system = System()
|
system = System()
|
||||||
|
|
Loading…
Reference in a new issue