diff --git a/platypush/plugins/config/__init__.py b/platypush/plugins/config/__init__.py index b9b3375804..2959863f98 100644 --- a/platypush/plugins/config/__init__.py +++ b/platypush/plugins/config/__init__.py @@ -59,5 +59,12 @@ class ConfigPlugin(Plugin): """ 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: