diff --git a/CHANGELOG.md b/CHANGELOG.md index d5dfad2..d1490e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,12 @@ # Changelog -## [0.5.1a1](https://github.com/OpenVoiceOS/ovos-plugin-manager/tree/0.5.1a1) (2024-10-16) +## [0.5.2a1](https://github.com/OpenVoiceOS/ovos-plugin-manager/tree/0.5.2a1) (2024-10-21) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-plugin-manager/compare/0.5.0...0.5.1a1) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-plugin-manager/compare/0.5.1...0.5.2a1) **Merged pull requests:** -- fix:Typing [\#272](https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/272) ([JarbasAl](https://github.com/JarbasAl)) +- fix:phal config loading [\#274](https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/274) ([JarbasAl](https://github.com/JarbasAl)) diff --git a/ovos_plugin_manager/templates/phal.py b/ovos_plugin_manager/templates/phal.py index 4ec7fa5..435d278 100644 --- a/ovos_plugin_manager/templates/phal.py +++ b/ovos_plugin_manager/templates/phal.py @@ -8,8 +8,6 @@ from ovos_bus_client.util import get_mycroft_bus from ovos_utils.process_utils import RuntimeRequirements -from ovos_plugin_manager.utils.config import get_plugin_config - class PHALValidator: @staticmethod @@ -37,8 +35,7 @@ def __init__(self, bus=None, name="", config=None): super().__init__(daemon=True) self.config_core = Configuration() name = name or camel_case_split(self.__class__.__name__).replace(" ", "-").lower() - self.config = config or get_plugin_config(self.config_core, - "PHAL", name) + self.config = config or self.config_core.get("PHAL", {}).get(name, {}) self._mouth_events = False self._running = False self.bus = bus or get_mycroft_bus() diff --git a/ovos_plugin_manager/version.py b/ovos_plugin_manager/version.py index ac04700..d493ef4 100644 --- a/ovos_plugin_manager/version.py +++ b/ovos_plugin_manager/version.py @@ -1,6 +1,6 @@ # START_VERSION_BLOCK VERSION_MAJOR = 0 VERSION_MINOR = 5 -VERSION_BUILD = 1 -VERSION_ALPHA = 0 +VERSION_BUILD = 2 +VERSION_ALPHA = 1 # END_VERSION_BLOCK