Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
builderjer committed Jan 8, 2025
1 parent 8b0dced commit 4deef9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_PHAL_plugin_mk1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def validate(config=None):
""" this method is called before loading the plugin.
If it returns False the plugin is not loaded.
This allows a plugin to run platform checks"""
cfg = config or Configuration().get("PHAL").get("ovos-PHAL-plugin-mk1")
cfg = config or Configuration().get("PHAL").get("ovos-PHAL-plugin-mk1") or None
if cfg and cfg.get("enabled") == True:
return True
if is_mark_1():
Expand Down

0 comments on commit 4deef9e

Please sign in to comment.