forked from platypush/platypush
[config
] Added config.get_config_file
action.
This commit is contained in:
parent
20a2203e7e
commit
66cba233e5
1 changed files with 7 additions and 0 deletions
|
@ -59,5 +59,12 @@ class ConfigPlugin(Plugin):
|
||||||
"""
|
"""
|
||||||
return Config.get('device_id')
|
return Config.get('device_id')
|
||||||
|
|
||||||
|
@action
|
||||||
|
def get_config_file(self) -> str:
|
||||||
|
"""
|
||||||
|
Get the path to the main configuration file.
|
||||||
|
"""
|
||||||
|
return Config._instance.config_file
|
||||||
|
|
||||||
|
|
||||||
# vim:sw=4:ts=4:et:
|
# vim:sw=4:ts=4:et:
|
||||||
|
|
Loading…
Reference in a new issue