[config] Added config.get_config_file action.

This commit is contained in:
Fabio Manganiello 2023-10-17 16:37:59 +02:00
parent 20a2203e7e
commit 66cba233e5
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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: